Skip to content

Commit 98c2400

Browse files
committed
feat: replace neodev.nvim to lazydev.nvim
1 parent 98ae6d0 commit 98c2400

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

lua/modules/plugins/completion.lua

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,19 @@ end
100100

101101
-- Adding *nvim config dir*, *nvim runtime dir*, *all plugin dir(with /lua dir)* to get
102102
-- hover docs and function signatures, but it takes too much time to load all dirs, use it if needed.
103-
completion["folke/neodev.nvim"] = {
103+
completion["folke/lazydev.nvim"] = {
104104
lazy = true,
105-
event = "LspAttach",
106105
ft = "lua",
106+
dependencies = {
107+
{ "gonstoll/wezterm-types", lazy = true },
108+
{ "Bilal2453/luvit-meta", lazy = true },
109+
},
110+
opt = {
111+
library = {
112+
{ path = "luvit-meta/library", words = { "vim%.uv" } },
113+
{ path = "wezterm-types", mods = { "wezterm" } },
114+
},
115+
},
107116
}
108117

109118
return completion

0 commit comments

Comments
 (0)