Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lua/lazydev/workspace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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,
},
},
})
Expand Down