aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml22
1 files changed, 7 insertions, 15 deletions
diff --git a/languages.toml b/languages.toml
index c54eabba..4bda7136 100644
--- a/languages.toml
+++ b/languages.toml
@@ -464,21 +464,13 @@ file-types = ["jl"]
roots = []
comment-token = "#"
language-server = { command = "julia", args = [
- "--startup-file=no",
- "--history-file=no",
- "--quiet",
- "-e",
- """
- using LanguageServer;
- using Pkg;
- import StaticLint;
- 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 = " " }
+ "--startup-file=no",
+ "--history-file=no",
+ "--quiet",
+ "-e",
+ "using LanguageServer; runserver()",
+ ] }
+indent = { tab-width = 4, unit = " " }
[[grammar]]
name = "julia"