@@ -4,7 +4,6 @@ scope = "source.rust"
4injection-regex = "rust"
4injection-regex = "rust"
5file-types = ["rs"]
5file-types = ["rs"]
7−path = "../helix-syntax/languages/tree-sitter-rust"
9language-server = { command = "rust-analyzer" }
8language-server = { command = "rust-analyzer" }
10indent = { tab-width = 4, unit = " " }
9indent = { tab-width = 4, unit = " " }
@@ -15,7 +14,6 @@ scope = "source.toml"
15injection-regex = "toml"
14injection-regex = "toml"
16file-types = ["toml"]
15file-types = ["toml"]
18−path = "../helix-syntax/languages/tree-sitter-toml"
20indent = { tab-width = 2, unit = " " }
18indent = { tab-width = 2, unit = " " }
@@ -25,7 +23,6 @@ scope = "source.json"
25injection-regex = "json"
23injection-regex = "json"
26file-types = ["json"]
24file-types = ["json"]
28−path = "../helix-syntax/languages/tree-sitter-json"
30indent = { tab-width = 2, unit = " " }
27indent = { tab-width = 2, unit = " " }
@@ -35,7 +32,6 @@ scope = "source.c"
35injection-regex = "c"
32injection-regex = "c"
36file-types = ["c"] # TODO: ["h"]
33file-types = ["c"] # TODO: ["h"]
38−path = "../helix-syntax/languages/tree-sitter-c"
40indent = { tab-width = 2, unit = " " }
36indent = { tab-width = 2, unit = " " }
@@ -45,7 +41,6 @@ scope = "source.cpp"
45injection-regex = "cpp"
41injection-regex = "cpp"
46file-types = ["cc", "cpp", "hpp", "h"]
42file-types = ["cc", "cpp", "hpp", "h"]
48−path = "../helix-syntax/languages/tree-sitter-cpp" # TODO: also C highlights
50indent = { tab-width = 2, unit = " " }
45indent = { tab-width = 2, unit = " " }
@@ -55,7 +50,6 @@ scope = "source.go"
55injection-regex = "go"
50injection-regex = "go"
56file-types = ["go"]
51file-types = ["go"]
57roots = ["Gopkg.toml", "go.mod"]
52roots = ["Gopkg.toml", "go.mod"]
58−path = "../helix-syntax/languages/tree-sitter-go"
60language-server = { command = "gopls" }
54language-server = { command = "gopls" }
61# TODO: gopls needs utf-8 offsets
55# TODO: gopls needs utf-8 offsets
@@ -67,7 +61,6 @@ scope = "source.js"
67injection-regex = "^(js|javascript)$"
61injection-regex = "^(js|javascript)$"
68file-types = ["js"]
62file-types = ["js"]
70−path = "../helix-syntax/languages/tree-sitter-javascript"
71# TODO: highlights-jsx, highlights-params
64# TODO: highlights-jsx, highlights-params
73indent = { tab-width = 2, unit = " " }
66indent = { tab-width = 2, unit = " " }
@@ -78,7 +71,6 @@ scope = "source.css"
78injection-regex = "css"
71injection-regex = "css"
79file-types = ["css"]
72file-types = ["css"]
81−path = "../helix-syntax/languages/tree-sitter-css"
83indent = { tab-width = 2, unit = " " }
75indent = { tab-width = 2, unit = " " }
@@ -88,7 +80,6 @@ scope = "text.html.basic"
88injection-regex = "html"
80injection-regex = "html"
89file-types = ["html"]
81file-types = ["html"]
91−path = "../helix-syntax/languages/tree-sitter-html"
93indent = { tab-width = 2, unit = " " }
84indent = { tab-width = 2, unit = " " }
@@ -98,7 +89,6 @@ scope = "source.python"
98injection-regex = "python"
89injection-regex = "python"
99file-types = ["py"]
90file-types = ["py"]
100roots = []
91roots = []
101−path = "../helix-syntax/languages/tree-sitter-python"
103language-server = { command = "pyls" }
93language-server = { command = "pyls" }
104# TODO: pyls needs utf-8 offsets
94# TODO: pyls needs utf-8 offsets
@@ -110,7 +100,6 @@ scope = "source.ruby"
110injection-regex = "ruby"
100injection-regex = "ruby"
111file-types = ["rb"]
101file-types = ["rb"]
112roots = []
102roots = []
113−path = "../helix-syntax/languages/tree-sitter-ruby"
115language-server = { command = "solargraph", args = ["stdio"] }
104language-server = { command = "solargraph", args = ["stdio"] }
116indent = { tab-width = 2, unit = " " }
105indent = { tab-width = 2, unit = " " }
@@ -121,7 +110,6 @@ scope = "source.bash"
121injection-regex = "bash"
110injection-regex = "bash"
122file-types = ["sh", "bash"]
111file-types = ["sh", "bash"]
123roots = []
112roots = []
124−path = "../helix-syntax/languages/tree-sitter-bash"
126language-server = { command = "bash-language-server", args = ["start"] }
114language-server = { command = "bash-language-server", args = ["start"] }
127indent = { tab-width = 2, unit = " " }
115indent = { tab-width = 2, unit = " " }
@@ -132,6 +120,5 @@ scope = "source.php"
132injection-regex = "php"
120injection-regex = "php"
133file-types = ["php"]
121file-types = ["php"]
134roots = []
122roots = []
135−path = "../helix-syntax/languages/tree-sitter-php"
137indent = { tab-width = 2, unit = " " }
124indent = { tab-width = 2, unit = " " }