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

[[language]]
name = "python"
scope = "source.python"
auto-format = true
shebangs = ["python", "python3"]
roots = ["pyproject.toml", "setup.py", "setup.cfg", "SConstruct"]
max-line-length = 120
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"}