aboutsummaryrefslogtreecommitdiffstats
path: root/.config/helix/languages.toml
blob: 8b5416c107dc894da8dd0cee1e35b242853e94a0 (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
[[language]]
name = "rust"
auto-format = true

[[language]]
name = "email"
scope = "source.text"
auto-format = true
text-width = 80
file-types = ["mutt"]
indent = { tab-width = 2, unit = "  " }
roots = []

[[language]]
name = "python"
scope = "source.python"
auto-format = true
shebangs = ["python", "python3"]
roots = ["pyproject.toml", "setup.py", "setup.cfg", "SConstruct"]
language-server = { command = "pylsp" }

[language.config.pylsp.plugins.flake8]
enabled = true
maxComplexity = 10
maxLineLength = 120

[language.config.pylsp.plugins.pycodestyle]
enabled = false

[language.config.pylsp.plugins.pydocstyle]
enabled = true
formatter = { command = "black"}