@@ -5,6 +5,17 @@ injection-regex = "rust"
5file-types = ["rs"]
5file-types = ["rs"]
7auto-format = true
7auto-format = true
12+ "loadOutDirsFromCheck": true
9language-server = { command = "rust-analyzer" }
20language-server = { command = "rust-analyzer" }
10indent = { tab-width = 4, unit = " " }
21indent = { tab-width = 4, unit = " " }
@@ -15,6 +26,7 @@ scope = "source.toml"
15injection-regex = "toml"
26injection-regex = "toml"
16file-types = ["toml"]
27file-types = ["toml"]
19indent = { tab-width = 2, unit = " " }
31indent = { tab-width = 2, unit = " " }
@@ -42,6 +54,7 @@ scope = "source.c"
42injection-regex = "c"
54injection-regex = "c"
43file-types = ["c"] # TODO: ["h"]
55file-types = ["c"] # TODO: ["h"]
46language-server = { command = "clangd" }
59language-server = { command = "clangd" }
47indent = { tab-width = 2, unit = " " }
60indent = { tab-width = 2, unit = " " }
@@ -52,6 +65,7 @@ scope = "source.cpp"
52injection-regex = "cpp"
65injection-regex = "cpp"
53file-types = ["cc", "cpp", "hpp", "h"]
66file-types = ["cc", "cpp", "hpp", "h"]
56language-server = { command = "clangd" }
70language-server = { command = "clangd" }
57indent = { tab-width = 2, unit = " " }
71indent = { tab-width = 2, unit = " " }
@@ -63,6 +77,7 @@ injection-regex = "go"
63file-types = ["go"]
77file-types = ["go"]
64roots = ["Gopkg.toml", "go.mod"]
78roots = ["Gopkg.toml", "go.mod"]
65auto-format = true
79auto-format = true
67language-server = { command = "gopls" }
82language-server = { command = "gopls" }
68# TODO: gopls needs utf-8 offsets?
83# TODO: gopls needs utf-8 offsets?
@@ -74,6 +89,7 @@ scope = "source.js"
74injection-regex = "^(js|javascript)$"
89injection-regex = "^(js|javascript)$"
75file-types = ["js"]
90file-types = ["js"]
77# TODO: highlights-jsx, highlights-params
93# TODO: highlights-jsx, highlights-params
79indent = { tab-width = 2, unit = " " }
95indent = { tab-width = 2, unit = " " }
@@ -113,6 +129,7 @@ scope = "source.python"
113injection-regex = "python"
129injection-regex = "python"
114file-types = ["py"]
130file-types = ["py"]
115roots = []
131roots = []
117language-server = { command = "pyls" }
134language-server = { command = "pyls" }
118# TODO: pyls needs utf-8 offsets
135# TODO: pyls needs utf-8 offsets
@@ -133,6 +150,7 @@ scope = "source.ruby"
133injection-regex = "ruby"
150injection-regex = "ruby"
134file-types = ["rb"]
151file-types = ["rb"]
135roots = []
152roots = []
137language-server = { command = "solargraph", args = ["stdio"] }
155language-server = { command = "solargraph", args = ["stdio"] }
138indent = { tab-width = 2, unit = " " }
156indent = { tab-width = 2, unit = " " }
@@ -143,6 +161,7 @@ scope = "source.bash"
143injection-regex = "bash"
161injection-regex = "bash"
144file-types = ["sh", "bash"]
162file-types = ["sh", "bash"]
145roots = []
163roots = []
147language-server = { command = "bash-language-server", args = ["start"] }
166language-server = { command = "bash-language-server", args = ["start"] }
148indent = { tab-width = 2, unit = " " }
167indent = { tab-width = 2, unit = " " }
@@ -162,6 +181,7 @@ scope = "source.tex"
162injection-regex = "tex"
181injection-regex = "tex"
163file-types = ["tex"]
182file-types = ["tex"]
164roots = []
183roots = []
166indent = { tab-width = 4, unit = "\t" }
186indent = { tab-width = 4, unit = "\t" }
@@ -171,6 +191,7 @@ scope = "source.julia"
171injection-regex = "julia"
191injection-regex = "julia"
172file-types = ["jl"]
192file-types = ["jl"]
173roots = []
193roots = []
174language-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);" ] }
175indent = { tab-width = 2, unit = " " }
196indent = { tab-width = 2, unit = " " }
@@ -180,5 +201,6 @@ indent = { tab-width = 2, unit = " " }
180# injection-regex = "haskell"
201# injection-regex = "haskell"
181# file-types = ["hs"]
202# file-types = ["hs"]
182# roots = []
203# roots = []
204+# comment_token = "--"
184# indent = { tab-width = 2, unit = " " }
206# indent = { tab-width = 2, unit = " " }