From 7c30f85e00f41f11e542770bc9d0cd50a8cb73fa Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 29 Dec 2024 12:41:23 -0800 Subject: [PATCH] Fix lua language server language --- lua/config/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, + }, }, }, },