Skip to content

Commit b32dee3

Browse files
committed
feat(nvim): add initial flash plugin config
1 parent 688ccf5 commit b32dee3

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.config/nvim/lua/specs/flash.lua

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
local Plugin = { 'folke/flash.nvim' }
2+
3+
Plugin.name = 'flash'
4+
5+
Plugin.event = 'VeryLazy'
6+
7+
Plugin.opts = {
8+
search = {
9+
multi_window = false,
10+
},
11+
modes = {
12+
search = {
13+
enabled = true,
14+
},
15+
},
16+
highlight = {
17+
backdrop = false,
18+
},
19+
prompt = {
20+
enabled = false,
21+
},
22+
}
23+
24+
Plugin.keys = {
25+
{
26+
'grv',
27+
mode = { 'n', 'x', 'o' },
28+
function()
29+
require('flash').treesitter()
30+
end,
31+
desc = 'Active flash in tree-sitter selection mode.',
32+
},
33+
}
34+
35+
return Plugin

0 commit comments

Comments
 (0)