@@ -69,7 +69,7 @@ M.plugin_list = {
69
69
' SmiteshP/nvim-navic' ,
70
70
config = function ()
71
71
require (' nvim-navic' ).setup ({
72
- click = true ,
72
+ click = true , -- Single click to goto element, double click to open nvim-navbuddy
73
73
lsp = { auto_attach = true },
74
74
})
75
75
@@ -90,9 +90,8 @@ M.plugin_list = {
90
90
' MunifTanjim/nui.nvim' ,
91
91
},
92
92
opts = { lsp = { auto_attach = true } },
93
- cond = function ()
94
- return vim .fn .has (' nvim-0.10' ) == 1
95
- end
93
+ cmd = { ' Navbuddy' },
94
+ keys = { { ' <space>v' , ' <cmd>Navbuddy<cr>' , desc = ' navbuddy' } }
96
95
},
97
96
98
97
-- {
@@ -187,6 +186,7 @@ M.plugin_list = {
187
186
{
188
187
-- LSP signature hint as you type
189
188
' ray-x/lsp_signature.nvim' ,
189
+ event = ' VeryLazy' ,
190
190
config = function ()
191
191
require (' lsp_signature' ).setup ({
192
192
bind = true ,
@@ -209,7 +209,6 @@ M.plugin_list = {
209
209
-- lsp enhance
210
210
' b0o/schemastore.nvim' ,
211
211
' SmiteshP/nvim-navic' ,
212
- ' SmiteshP/nvim-navbuddy' ,
213
212
' MunifTanjim/nui.nvim' ,
214
213
},
215
214
config = function ()
@@ -317,12 +316,27 @@ M.plugin_list = {
317
316
event = ' VeryLazy' ,
318
317
},
319
318
319
+ {
320
+ ' nvimtools/none-ls.nvim' ,
321
+ dependencies = {
322
+ ' nvim-lua/plenary.nvim' ,
323
+ },
324
+ config = function ()
325
+ require (' aceforeverd.plugins.null-ls' ).setup ()
326
+ end ,
327
+ },
328
+
320
329
{
321
330
' mfussenegger/nvim-lint' ,
322
331
config = function ()
323
332
require (' lint' ).linters_by_ft = {
324
333
cpp = { ' cpplint' },
325
334
c = { ' cpplint' },
335
+ sh = {' shellcheck' },
336
+ vim = { ' vint' },
337
+ dockerfile = {' hadolint' },
338
+ python = { ' pylint' },
339
+ yaml = { ' actionlint' },
326
340
}
327
341
328
342
vim .api .nvim_create_user_command (' Lint' , function () require (' lint' ).try_lint () end , {})
@@ -343,6 +357,11 @@ M.plugin_list = {
343
357
opts = {
344
358
formatters_by_ft = {
345
359
lua = { " stylua" },
360
+ sh = { ' shfmt' , ' shellharden' },
361
+ python = { ' yapf' },
362
+ cmake = { ' cmake_format' },
363
+ c = { ' clang-format' },
364
+ cpp = { ' clang-format' },
346
365
},
347
366
},
348
367
cmd = { ' ConformInfo' , ' Conform' }
@@ -669,11 +688,6 @@ M.plugin_list = {
669
688
},
670
689
},
671
690
672
- {
673
- ' rlane/pounce.nvim' ,
674
- cmd = { ' Pounce' , ' PounceRepeat' , ' PounceReg' , ' PounceExpand' },
675
- keys = { { mode = { ' n' , ' x' , ' o' }, ' ;p' , ' <cmd>Pounce<cr>' , desc = ' Pounce' } }
676
- },
677
691
-- ==============================================
678
692
-- MOTIONS END
679
693
-- ==============================================
@@ -724,18 +738,6 @@ M.plugin_list = {
724
738
},
725
739
},
726
740
727
- {
728
- ' ahmedkhalf/project.nvim' ,
729
- config = function ()
730
- require (' project_nvim' ).setup ({
731
- manual_mode = false ,
732
- silent_chdir = true ,
733
- scope_chdir = ' win' ,
734
- detection_methods = { ' pattern' , ' lsp' },
735
- })
736
- end ,
737
- },
738
-
739
741
{
740
742
' nvim-neo-tree/neo-tree.nvim' ,
741
743
branch = ' v3.x' ,
@@ -1088,6 +1090,7 @@ M.plugin_list = {
1088
1090
{
1089
1091
' stevearc/overseer.nvim' ,
1090
1092
opts = {},
1093
+ cmd = { ' OverseerRun' , ' OverseerRunCmd' , ' OverseerBuild' , ' OverseerTaskAction' }
1091
1094
},
1092
1095
1093
1096
-- colors
@@ -1167,13 +1170,14 @@ M.plugin_list = {
1167
1170
}
1168
1171
},
1169
1172
1170
- {
1173
+ {
1171
1174
' MagicDuck/grug-far.nvim' ,
1172
1175
config = function ()
1173
1176
require (' grug-far' ).setup ({
1174
1177
engine = ' ripgrep'
1175
1178
});
1176
- end
1179
+ end ,
1180
+ cmd = { ' GrugFar' }
1177
1181
},
1178
1182
1179
1183
}
0 commit comments