File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 1
- local prefix = " <Leader>R"
2
-
3
1
return {
4
2
" mistweaverco/kulala.nvim" ,
5
3
ft = { " http" , " rest" },
@@ -19,15 +17,20 @@ return {
19
17
--- @type AstroUIOpts
20
18
opts = { icons = { KulalaNvim = " " } },
21
19
},
22
- {
23
- " AstroNvim/astrocore" ,
24
- opts = function (_ , opts )
25
- local maps = opts .mappings
26
- maps .n [prefix ] = { desc = require (" astroui" ).get_icon (" KulalaNvim" , 1 , true ) .. " KulalaNvim" }
27
- end ,
28
- },
29
20
},
30
21
opts = {
31
22
global_keymaps = true ,
23
+ global_keymaps_prefix = " <leader>R" ,
24
+ lsp = { keymaps = true },
32
25
},
26
+ config = function (_ , opts )
27
+ require (" kulala" ).setup (opts )
28
+ require (" astrocore" ).setup {
29
+ mappings = {
30
+ n = {
31
+ [opts .global_keymaps_prefix ] = { desc = require (" astroui" ).get_icon (" KulalaNvim" , 1 , true ) .. " KulalaNvim" },
32
+ },
33
+ },
34
+ }
35
+ end ,
33
36
}
You can’t perform that action at this time.
0 commit comments