blob: 0bf5124afbec4a34e3a1fae899416889ec03558f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
[[language]]
name = "rust"
auto-format = true
[language-server.rust-analyzer.config.check]
command = "clippy"
features = "all"
[language-server.rust-analyzer.config.rustfmt]
extraArgs = [ "+nightly" ]
[[language]]
name = "email"
scope = "source.text"
auto-format = true
text-width = 80
file-types = ["mutt"]
indent = { tab-width = 2, unit = " " }
roots = []
[[language]]
name = "python"
language-servers = [ "pyright", "ruff" ]
auto-format = true
[language-server.pyright.config.python.analysis]
typeCheckingMode = "basic"
[language-server.ruff]
command = "ruff-lsp"
[language-server.ruff.config.settings.lint]
args = ["--fix"]
enable = true
run = "onSave"
[language-server.ruff.config.settings]
# args = ["--ignore", "E501"]
args = ["--fix"]
enable = true
run = "onSave"
|