@@ -5,7 +5,7 @@ injection-regex = "rust"
5file-types = ["rs"]
5file-types = ["rs"]
7auto-format = true
7auto-format = true
8−comment_token = "//"
8+comment-token = "//"
9config = """
9config = """
11 "cargo": {
11 "cargo": {
@@ -26,7 +26,7 @@ scope = "source.toml"
26injection-regex = "toml"
26injection-regex = "toml"
27file-types = ["toml"]
27file-types = ["toml"]
29−comment_token = "#"
29+comment-token = "#"
31indent = { tab-width = 2, unit = " " }
31indent = { tab-width = 2, unit = " " }
@@ -54,7 +54,7 @@ scope = "source.c"
54injection-regex = "c"
54injection-regex = "c"
55file-types = ["c"] # TODO: ["h"]
55file-types = ["c"] # TODO: ["h"]
57−comment_token = "//"
57+comment-token = "//"
59language-server = { command = "clangd" }
59language-server = { command = "clangd" }
60indent = { tab-width = 2, unit = " " }
60indent = { tab-width = 2, unit = " " }
@@ -65,7 +65,7 @@ scope = "source.cpp"
65injection-regex = "cpp"
65injection-regex = "cpp"
66file-types = ["cc", "cpp", "hpp", "h"]
66file-types = ["cc", "cpp", "hpp", "h"]
68−comment_token = "//"
68+comment-token = "//"
70language-server = { command = "clangd" }
70language-server = { command = "clangd" }
71indent = { tab-width = 2, unit = " " }
71indent = { tab-width = 2, unit = " " }
@@ -77,7 +77,7 @@ injection-regex = "go"
77file-types = ["go"]
77file-types = ["go"]
78roots = ["Gopkg.toml", "go.mod"]
78roots = ["Gopkg.toml", "go.mod"]
79auto-format = true
79auto-format = true
80−comment_token = "//"
80+comment-token = "//"
82language-server = { command = "gopls" }
82language-server = { command = "gopls" }
83# TODO: gopls needs utf-8 offsets?
83# TODO: gopls needs utf-8 offsets?
@@ -89,7 +89,7 @@ scope = "source.js"
89injection-regex = "^(js|javascript)$"
89injection-regex = "^(js|javascript)$"
90file-types = ["js"]
90file-types = ["js"]
92−comment_token = "//"
92+comment-token = "//"
93# TODO: highlights-jsx, highlights-params
93# TODO: highlights-jsx, highlights-params
95indent = { tab-width = 2, unit = " " }
95indent = { tab-width = 2, unit = " " }
@@ -129,7 +129,7 @@ scope = "source.python"
129injection-regex = "python"
129injection-regex = "python"
130file-types = ["py"]
130file-types = ["py"]
131roots = []
131roots = []
132−comment_token = "#"
132+comment-token = "#"
134language-server = { command = "pyls" }
134language-server = { command = "pyls" }
135# TODO: pyls needs utf-8 offsets
135# TODO: pyls needs utf-8 offsets
@@ -150,7 +150,7 @@ scope = "source.ruby"
150injection-regex = "ruby"
150injection-regex = "ruby"
151file-types = ["rb"]
151file-types = ["rb"]
152roots = []
152roots = []
153−comment_token = "#"
153+comment-token = "#"
155language-server = { command = "solargraph", args = ["stdio"] }
155language-server = { command = "solargraph", args = ["stdio"] }
156indent = { tab-width = 2, unit = " " }
156indent = { tab-width = 2, unit = " " }
@@ -161,7 +161,7 @@ scope = "source.bash"
161injection-regex = "bash"
161injection-regex = "bash"
162file-types = ["sh", "bash"]
162file-types = ["sh", "bash"]
163roots = []
163roots = []
164−comment_token = "#"
164+comment-token = "#"
166language-server = { command = "bash-language-server", args = ["start"] }
166language-server = { command = "bash-language-server", args = ["start"] }
167indent = { tab-width = 2, unit = " " }
167indent = { tab-width = 2, unit = " " }
@@ -181,7 +181,7 @@ scope = "source.tex"
181injection-regex = "tex"
181injection-regex = "tex"
182file-types = ["tex"]
182file-types = ["tex"]
183roots = []
183roots = []
184−comment_token = "%"
184+comment-token = "%"
186indent = { tab-width = 4, unit = "\t" }
186indent = { tab-width = 4, unit = "\t" }
@@ -191,7 +191,7 @@ scope = "source.julia"
191injection-regex = "julia"
191injection-regex = "julia"
192file-types = ["jl"]
192file-types = ["jl"]
193roots = []
193roots = []
194−comment_token = "#"
194+comment-token = "#"
195language-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);" ] }
195language-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);" ] }
196indent = { tab-width = 2, unit = " " }
196indent = { tab-width = 2, unit = " " }
@@ -201,6 +201,6 @@ indent = { tab-width = 2, unit = " " }
201# injection-regex = "haskell"
201# injection-regex = "haskell"
202# file-types = ["hs"]
202# file-types = ["hs"]
203# roots = []
203# roots = []
204−# comment_token = "--"
204+# comment-token = "--"
206# indent = { tab-width = 2, unit = " " }
206# indent = { tab-width = 2, unit = " " }