-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
specs.lua
41 lines (37 loc) · 901 Bytes
/
specs.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
38
39
40
41
return {
'edluffy/specs.nvim',
highlights = function(config)
local c = config.colors
return { CursorLineFader = { bg = c.blue } }
end,
commands = {
ShowCursor = {
function()
require('specs').show_specs()
end,
},
},
config = function(config)
require('specs').setup(config.specs)
end,
defaultConfig = function(config)
return {
'specs',
{
show_jumps = true,
min_jump = 6,
popup = {
delay_ms = 0, -- delay before popup displays
inc_ms = 10, -- time increments used for fade/resize effects
blend = 60, -- starting blend, between 0-100 (fully transparent), see :h winblend
width = 60,
winhl = 'CursorLineFader',
fader = require('specs').linear_fader,
resizer = require('specs').shrink_resizer,
},
ignore_filetypes = config.ignore.fileTypesForSomePlugs,
ignore_buftypes = { nofile = true },
},
}
end,
}