@@ -5,6 +5,7 @@ injection-regex = "rust"
55file-types = ["rs"]
66roots = []
77auto-format = true
8+comment_token = "//"
89config = """
910{
1011 "cargo": {
@@ -25,6 +26,7 @@ scope = "source.toml"
2526injection-regex = "toml"
2627file-types = ["toml"]
2728roots = []
29+comment_token = "#"
2830
2931indent = { tab-width = 2, unit = " " }
3032
@@ -52,6 +54,7 @@ scope = "source.c"
5254injection-regex = "c"
5355file-types = ["c"] # TODO: ["h"]
5456roots = []
57+comment_token = "//"
5558
5659language-server = { command = "clangd" }
5760indent = { tab-width = 2, unit = " " }
@@ -62,6 +65,7 @@ scope = "source.cpp"
6265injection-regex = "cpp"
6366file-types = ["cc", "cpp", "hpp", "h"]
6467roots = []
68+comment_token = "//"
6569
6670language-server = { command = "clangd" }
6771indent = { tab-width = 2, unit = " " }
@@ -73,6 +77,7 @@ injection-regex = "go"
7377file-types = ["go"]
7478roots = ["Gopkg.toml", "go.mod"]
7579auto-format = true
80+comment_token = "//"
7681
7782language-server = { command = "gopls" }
7883# TODO: gopls needs utf-8 offsets?
@@ -84,6 +89,7 @@ scope = "source.js"
8489injection-regex = "^(js|javascript)$"
8590file-types = ["js"]
8691roots = []
92+comment_token = "//"
8793# TODO: highlights-jsx, highlights-params
8894
8995indent = { tab-width = 2, unit = " " }
@@ -123,6 +129,7 @@ scope = "source.python"
123129injection-regex = "python"
124130file-types = ["py"]
125131roots = []
132+comment_token = "#"
126133
127134language-server = { command = "pyls" }
128135# TODO: pyls needs utf-8 offsets
@@ -143,6 +150,7 @@ scope = "source.ruby"
143150injection-regex = "ruby"
144151file-types = ["rb"]
145152roots = []
153+comment_token = "#"
146154
147155language-server = { command = "solargraph", args = ["stdio"] }
148156indent = { tab-width = 2, unit = " " }
@@ -153,6 +161,7 @@ scope = "source.bash"
153161injection-regex = "bash"
154162file-types = ["sh", "bash"]
155163roots = []
164+comment_token = "#"
156165
157166language-server = { command = "bash-language-server", args = ["start"] }
158167indent = { tab-width = 2, unit = " " }
@@ -172,6 +181,7 @@ scope = "source.tex"
172181injection-regex = "tex"
173182file-types = ["tex"]
174183roots = []
184+comment_token = "%"
175185
176186indent = { tab-width = 4, unit = "\t" }
177187
@@ -181,6 +191,7 @@ scope = "source.julia"
181191injection-regex = "julia"
182192file-types = ["jl"]
183193roots = []
194+comment_token = "#"
184195language-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);" ] }
185196indent = { tab-width = 2, unit = " " }
186197
@@ -190,5 +201,6 @@ indent = { tab-width = 2, unit = " " }
190201# injection-regex = "haskell"
191202# file-types = ["hs"]
192203# roots = []
204+# comment_token = "--"
193205#
194206# indent = { tab-width = 2, unit = " " }