File tree 2 files changed +20
-2
lines changed
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ function M.setup()
67
67
-- level 1 source
68
68
local sources_1 = {
69
69
{ name = ' nvim_lsp' },
70
+ { name = " lazydev" },
70
71
{ name = ' luasnip' , option = { use_show_condition = false } },
71
72
72
73
{ name = ' nvim_lua' },
@@ -136,6 +137,7 @@ function M.setup()
136
137
maxwidth = 50 ,
137
138
menu = {
138
139
nvim_lsp = ' [LSP]' ,
140
+ lazydev = ' [LazyDev]' ,
139
141
luasnip = ' [LuaSnip]' ,
140
142
buffer = ' [Buffer]' ,
141
143
path = ' [Path]' ,
Original file line number Diff line number Diff line change @@ -152,8 +152,25 @@ M.plugin_list = {
152
152
pathStrict = true ,
153
153
})
154
154
end ,
155
- lazy = true ,
155
+ cond = function ()
156
+ return vim .fn .has (' nvim-0.10' ) ~= 1
157
+ end ,
158
+ },
159
+
160
+ {
161
+ " folke/lazydev.nvim" ,
162
+ ft = " lua" ,
163
+ opts = {
164
+ library = {
165
+ { path = " luvit-meta/library" , words = { " vim%.uv" } },
166
+ },
167
+ },
168
+ cond = function ()
169
+ return vim .fn .has (' nvim-0.10' ) == 1
170
+ end ,
156
171
},
172
+ { " Bilal2453/luvit-meta" , lazy = true }, -- optional `vim.uv` typings
173
+
157
174
{
158
175
-- LSP signature hint as you type
159
176
' ray-x/lsp_signature.nvim' ,
@@ -177,7 +194,6 @@ M.plugin_list = {
177
194
' williamboman/mason.nvim' ,
178
195
' p00f/clangd_extensions.nvim' ,
179
196
-- lsp enhance
180
- ' folke/neodev.nvim' ,
181
197
' b0o/schemastore.nvim' ,
182
198
' SmiteshP/nvim-navic' ,
183
199
' SmiteshP/nvim-navbuddy' ,
You can’t perform that action at this time.
0 commit comments