aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-09-29 14:15:21 +0200
committerGitHub <noreply@github.com>2023-09-29 14:15:21 +0200
commit968ebd9893ecdc310c76c6162bf82cf8acb790f8 (patch)
tree1385975009411346de92a756b65862979fffe2ac /lua
parentchore: update generated code (#288) (diff)
downloadmason-lspconfig-968ebd9893ecdc310c76c6162bf82cf8acb790f8.tar
mason-lspconfig-968ebd9893ecdc310c76c6162bf82cf8acb790f8.tar.gz
mason-lspconfig-968ebd9893ecdc310c76c6162bf82cf8acb790f8.tar.bz2
mason-lspconfig-968ebd9893ecdc310c76c6162bf82cf8acb790f8.tar.lz
mason-lspconfig-968ebd9893ecdc310c76c6162bf82cf8acb790f8.tar.xz
mason-lspconfig-968ebd9893ecdc310c76c6162bf82cf8acb790f8.tar.zst
mason-lspconfig-968ebd9893ecdc310c76c6162bf82cf8acb790f8.zip
fix(apex_ls): fix jar location (#289)
Diffstat (limited to 'lua')
-rw-r--r--lua/mason-lspconfig/server_configurations/apex_ls/init.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/mason-lspconfig/server_configurations/apex_ls/init.lua b/lua/mason-lspconfig/server_configurations/apex_ls/init.lua
index 6251dc7..9fa91ff 100644
--- a/lua/mason-lspconfig/server_configurations/apex_ls/init.lua
+++ b/lua/mason-lspconfig/server_configurations/apex_ls/init.lua
@@ -1,8 +1,5 @@
-local path = require "mason-core.path"
-
----@param install_dir string
-return function(install_dir)
+return function()
return {
- apex_jar_path = path.concat { install_dir, "apex-jorje-lsp.jar" },
+ apex_jar_path = vim.fn.expand "$MASON/share/apex-language-server/apex-jorje-lsp.jar",
}
end