mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
fix(lsp): fix lookup of boolean values in workspace/configuration (#18026)
This commit is contained in:
@@ -1950,8 +1950,8 @@ end
|
||||
function M.lookup_section(settings, section)
|
||||
for part in vim.gsplit(section, '.', true) do
|
||||
settings = settings[part]
|
||||
if not settings then
|
||||
return
|
||||
if settings == nil then
|
||||
return vim.NIL
|
||||
end
|
||||
end
|
||||
return settings
|
||||
|
Reference in New Issue
Block a user