From 61525271d8b0891c6dcc88f97ecbb6cb5cb60ffe Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 15 Aug 2024 13:42:38 +0200 Subject: [PATCH] [nvim] Fix bug in julia lsp setup. --- .config/nvim/lua/plugins/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index db6fd74..8bd8a30 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -46,7 +46,7 @@ local servers = { local REVISE_LANGUAGESERVER = false if REVISE_LANGUAGESERVER then new_config.cmd[5] = (new_config.cmd[5]):gsub("using LanguageServer", "using Revise; using LanguageServer; LanguageServer.USE_REVISE[] = true") - elseif require(lspconfig).util.path.is_file(julia) then + elseif require("lspconfig").util.path.is_file(julia) then new_config.cmd[1] = julia end end,