feat(lazydev): new lazydev config based on trigger words

This commit is contained in:
Folke Lemaitre 2024-06-04 08:43:31 +02:00
parent 4d706f1bdc
commit 39da8514d3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -204,14 +204,13 @@ return {
{
"folke/lazydev.nvim",
ft = "lua",
opts = function()
return {
library = {
uv = "luvit-meta/library",
lazyvim = "LazyVim",
},
}
end,
opts = {
library = {
{ path = "luvit-meta/library", words = { "vim%.uv" } },
{ path = "LazyVim", words = { "LazyVim" } },
{ path = "lazy.nvim", words = { "LazyVim" } },
},
},
},
-- Manage libuv types with lazy. Plugin will never be loaded
{ "Bilal2453/luvit-meta", lazy = true },