From e6a7dd6af5b5d861764510e2047216ab321926d5 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 29 May 2025 20:16:23 +0200 Subject: [PATCH] Change how luvit is loaded in lazydev --- nvim/dot-config/nvim/lua/plugins/lazydev.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nvim/dot-config/nvim/lua/plugins/lazydev.lua b/nvim/dot-config/nvim/lua/plugins/lazydev.lua index 100066f..ac15c15 100644 --- a/nvim/dot-config/nvim/lua/plugins/lazydev.lua +++ b/nvim/dot-config/nvim/lua/plugins/lazydev.lua @@ -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 }