diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 877ff9b..c2703da 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -47,7 +47,9 @@ if vim.fn.executable('lua-language-server') == 1 then }, workspace = { checkThirdParty = false, - library = vim.api.nvim_get_runtime_file('', true), + library = { + vim.env.VIMRUNTIME, + }, }, }, },