Skip to content

Commit bd53f28

Browse files
committed
Fix corrupted library path of lua_ls
The previous code accidentally overwrote the library path of lua_ls because it used `vim.tbl_extend` instead of `vim.list_extend`. Because they paths that were added to the list (`luv` and `busted`) are not really relevant for neovim configs, they are omitted entirely. fixes: #2138
1 parent b01d052 commit bd53f28

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

init.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -725,10 +725,7 @@ do
725725
checkThirdParty = false,
726726
-- NOTE: this is a lot slower and will cause issues when working on your own configuration.
727727
-- See https://github.com/neovim/nvim-lspconfig/issues/3189
728-
library = vim.tbl_extend('force', vim.api.nvim_get_runtime_file('', true), {
729-
'${3rd}/luv/library',
730-
'${3rd}/busted/library',
731-
}),
728+
library = vim.api.nvim_get_runtime_file('', true),
732729
},
733730
})
734731
end,

0 commit comments

Comments
 (0)