summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorwesh2021-07-04 12:24:33 +0000
committerIvan Tham2021-07-05 12:28:49 +0000
commitaa70362d2052fcf1cb689d9bb93e12b8de5298c6 (patch)
treed5dfe1ff8ba55d357ae96efb1b77c946afec5224 /languages.toml
parent4952d6f80154665b50f23d055a4f3bc0ab8ac330 (diff)
Add julia support (LSP not working)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index f7564c88..19f81347 100644
--- a/languages.toml
+++ b/languages.toml
@@ -165,6 +165,31 @@ roots = []
indent = { tab-width = 4, unit = "\t" }
+[[language]]
+name = "julia"
+scope = "source.julia"
+injection-regex = "julia"
+file-types = ["jl"]
+roots = []
+
+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);
+ """,
+ ]
+indent = { tab-width = 2, unit = " " }
+
# [[language]]
# name = "haskell"
# scope = "source.haskell"