Initial rewrite
Signed-off-by: Timothy Pidashev <mail@timmypidashev.dev>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
-- Apex LSP: download the JAR from https://github.com/forcedotcom/salesforcedx-vscode-apex
|
||||
-- then set APEX_JAR env var to its path (e.g. ~/.local/share/apex-jorje-lsp.jar).
|
||||
local jar = vim.env.APEX_JAR or (vim.env.HOME .. "/.local/share/apex-jorje-lsp.jar")
|
||||
|
||||
return {
|
||||
cmd = {
|
||||
"java",
|
||||
"-cp", jar,
|
||||
"-Ddebug.internal.errors=true",
|
||||
"-Ddebug.semantic.errors=false",
|
||||
"-Ddebug.completion.statistics=false",
|
||||
"-Dlwc.typegeneration.disabled=true",
|
||||
"apex.jorje.lsp.ApexLanguageServerLauncher",
|
||||
},
|
||||
filetypes = { "apex" },
|
||||
root_markers = { "sfdx-project.json", ".git" },
|
||||
}
|
||||
Reference in New Issue
Block a user