summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml39
1 files changed, 38 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 6ec5302d..eb49a70c 100644
--- a/languages.toml
+++ b/languages.toml
@@ -65,6 +65,7 @@ file-types = ["ex", "exs"]
roots = []
comment-token = "#"
+language-server = { command = "elixir-ls" }
indent = { tab-width = 2, unit = " " }
[[language]]
@@ -199,6 +200,17 @@ language-server = { command = "typescript-language-server", args = ["--stdio"] }
indent = { tab-width = 2, unit = " " }
[[language]]
+name = "tsx"
+scope = "source.tsx"
+injection-regex = "^(tsx)$" # |typescript
+file-types = ["tsx"]
+roots = []
+# TODO: highlights-jsx, highlights-params
+
+language-server = { command = "typescript-language-server", args = ["--stdio"] }
+indent = { tab-width = 2, unit = " " }
+
+[[language]]
name = "css"
scope = "source.css"
injection-regex = "css"
@@ -236,6 +248,7 @@ file-types = ["nix"]
roots = []
comment-token = "#"
+language-server = { command = "rnix-lsp" }
indent = { tab-width = 2, unit = " " }
[[language]]
@@ -286,7 +299,22 @@ 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;
+ 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]]
@@ -332,6 +360,15 @@ comment-token = "--"
indent = { tab-width = 2, unit = " " }
[[language]]
+name = "svelte"
+scope = "source.svelte"
+injection-regex = "svelte"
+file-types = ["svelte"]
+roots = []
+indent = { tab-width = 2, unit = " " }
+language-server = { command = "svelteserver", args = ["--stdio"] }
+
+[[language]]
name = "yaml"
scope = "source.yaml"
file-types = ["yml", "yaml"]