From 9f9c7af5ee7cccb83c8da1283b4c4e978a15859c Mon Sep 17 00:00:00 2001 From: Alexandre ABRIOUX Date: Sat, 17 May 2025 10:39:13 +0200 Subject: [PATCH] fix(workspace): extend ignoreDir --- lua/lazydev/workspace.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/lazydev/workspace.lua b/lua/lazydev/workspace.lua index e771f7a..585943b 100644 --- a/lua/lazydev/workspace.lua +++ b/lua/lazydev/workspace.lua @@ -172,6 +172,7 @@ function M:update() end end + local defaultIgnoreDir = settings.Lua and settings.Lua.workspace and settings.Lua.workspace.ignoreDir or {} settings = vim.tbl_deep_extend("force", settings, { Lua = { runtime = { @@ -182,7 +183,7 @@ function M:update() workspace = { checkThirdParty = false, library = library, - ignoreDir = Config.lua_root and { "/lua" } or nil, + ignoreDir = Config.lua_root and { "/lua", unpack(defaultIgnoreDir) } or defaultIgnoreDir, }, }, })