diff options
| author | William Boman <william@redwill.se> | 2023-09-29 14:15:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-29 14:15:21 +0200 |
| commit | 968ebd9893ecdc310c76c6162bf82cf8acb790f8 (patch) | |
| tree | 1385975009411346de92a756b65862979fffe2ac /lua | |
| parent | chore: update generated code (#288) (diff) | |
| download | mason-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.lua | 7 |
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 |
