Change how luvit is loaded in lazydev

This commit is contained in:
Dreaded_X 2025-05-29 20:16:23 +02:00
parent dedbe6f2c8
commit e6a7dd6af5
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA

View File

@ -5,9 +5,10 @@ return {
ft = "lua",
opts = {
library = {
{ path = "luvit-meta/library", words = { "vim%.uv" } },
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
},
},
{ "Bilal2453/luvit-meta", lazy = true }, -- optional `vim.uv` typings
}