aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-31 07:52:27 +0000
committerBlaž Hrastnik2021-09-06 06:25:46 +0000
commitd2b9a5d6546a97686338c26b21f886983a93d8f4 (patch)
tree3ec9044051662e9d186f91276046fa141837123a
parent905efe3a48e5ac08a619da95b3d5f845e7e20160 (diff)
lsp: Update the julia definition
-rw-r--r--languages.toml18
1 files changed, 17 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index c04435fe..b1c0f479 100644
--- a/languages.toml
+++ b/languages.toml
@@ -204,7 +204,23 @@ injection-regex = "julia"
file-types = ["jl"]
roots = []
comment-token = "#"
-language-server = { command = "julia", args = [ "--startup-file=no", "--history-file=no", "-e", "using LanguageServer;using Pkg;import StaticLint;import SymbolServer;env_path = dirname(Pkg.Types.Context().env.project_file);server = LanguageServer.LanguageServerInstance(stdin, stdout, env_path, \"\");server.runlinter = true;run(server);" ] }
+language-server = { command = "julia", args = [
+ "--startup-file=no",
+ "--history-file=no",
+ "--quiet",
+ "-e",
+ """
+ using LanguageServer;
+ using Pkg;
+ import StaticLint;
+ import SymbolServer;
+ env_path = dirname(Pkg.Types.Context().env.project_file);
+
+ server = LanguageServer.LanguageServerInstance(stdin, stdout, env_path, "");
+ server.runlinter = true;
+ run(server);
+ """,
+ ] }
indent = { tab-width = 2, unit = " " }
[[language]]