@@ -19,6 +19,26 @@ path = "../helix-syntax/languages/tree-sitter-toml"
1919
2020indent = { tab-width = 2, unit = " " }
2121
22+[[language]]
23+name = "json"
24+scope = "source.json"
25+injection-regex = "json"
26+file-types = ["json"]
27+roots = []
28+path = "../helix-syntax/languages/tree-sitter-json"
29+
30+indent = { tab-width = 2, unit = " " }
31+
32+[[language]]
33+name = "c"
34+scope = "source.c"
35+injection-regex = "c"
36+file-types = ["c"] # TODO: ["h"]
37+roots = []
38+path = "../helix-syntax/languages/tree-sitter-c"
39+
40+indent = { tab-width = 2, unit = " " }
41+
2242[[language]]
2343name = "cpp"
2444scope = "source.cpp"
@@ -29,6 +49,18 @@ path = "../helix-syntax/languages/tree-sitter-cpp" # TODO: also C highlights
2949
3050indent = { tab-width = 2, unit = " " }
3151
52+[[language]]
53+name = "go"
54+scope = "source.go"
55+injection-regex = "go"
56+file-types = ["go"]
57+roots = ["Gopkg.toml", "go.mod"]
58+path = "../helix-syntax/languages/tree-sitter-go"
59+
60+language-server = { command = "gopls" }
61+# TODO: gopls needs utf-8 offsets
62+indent = { tab-width = 2, unit = " " }
63+
3264[[language]]
3365name = "javascript"
3466scope = "source.js"
@@ -71,3 +103,35 @@ path = "../helix-syntax/languages/tree-sitter-python"
71103language-server = { command = "pyls" }
72104# TODO: pyls needs utf-8 offsets
73105indent = { tab-width = 2, unit = " " }
106+
107+[[language]]
108+name = "ruby"
109+scope = "source.ruby"
110+injection-regex = "ruby"
111+file-types = ["rb"]
112+roots = []
113+path = "../helix-syntax/languages/tree-sitter-ruby"
114+
115+language-server = { command = "solargraph", args = ["stdio"] }
116+indent = { tab-width = 2, unit = " " }
117+
118+[[language]]
119+name = "bash"
120+scope = "source.bash"
121+injection-regex = "bash"
122+file-types = ["sh", "bash"]
123+roots = []
124+path = "../helix-syntax/languages/tree-sitter-bash"
125+
126+language-server = { command = "bash-language-server", args = ["start"] }
127+indent = { tab-width = 2, unit = " " }
128+
129+[[language]]
130+name = "php"
131+scope = "source.php"
132+injection-regex = "php"
133+file-types = ["php"]
134+roots = []
135+path = "../helix-syntax/languages/tree-sitter-php"
136+
137+indent = { tab-width = 2, unit = " " }