generated from 2KAbhishek/bare-minimum
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmarkit.lua
37 lines (36 loc) · 902 Bytes
/
markit.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
local markit = require('markit')
local icons = require('lib.icons')
markit.setup({
default_mappings = true,
builtin_marks = { '.', '<', '>', '^' },
cyclic = true,
force_write_shada = false,
sign_priority = { lower = 10, upper = 15, builtin = 8, bookmark = 20 },
excluded_filetypes = {},
excluded_buftypes = { 'nofile' },
-- supports up to 10 bookmark groups
bookmark_1 = {
sign = icons.ui.Flag,
virt_text = 'flag',
annotate = false,
},
bookmark_2 = {
sign = icons.ui.Eye,
virt_text = 'watch',
annotate = false,
},
bookmark_3 = {
sign = icons.ui.Star,
virt_text = 'star',
annotate = false,
},
bookmark_4 = {
sign = icons.ui.Bug,
virt_text = 'bug',
annotate = false,
},
mappings = {
set = 'M',
toggle_mark = 'm',
},
})