nvim: del v0.11 migrations.lua, lazydev support

This commit is contained in:
js0ny 2025-10-29 03:26:29 +00:00
parent 7540d37422
commit 6fb3efd1dc
11 changed files with 80 additions and 92 deletions

View file

@ -1,9 +1,12 @@
return {
"folke/lazydev.nvim",
ft = "lua", -- only load on lua files
ft = "lua", -- only load on lua files
opts = {
library = {
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
},
enabled = function(root_dir)
return vim.g.lazydev_enabled == nil and true or vim.g.lazy
end,
}