dotfiles/dot_config/helix/languages.toml

15 lines
494 B
TOML
Raw Permalink Normal View History

[[language]]
name = "python"
roots = ["pyproject.toml"]
formatter = { command = "black", args = ["--quiet", "-"] }
2023-03-07 12:55:36 +00:00
config = {pylsp={plugins={pycodestyle={enabled=false},flake8={enabled=true,maxLineLength=89},pyflakes={enabled=false}}}}
auto-format = true
2023-03-07 12:55:36 +00:00
shebangs = ["python"]
#scope = "source.python"
#injection-regex = "python"
#file-types = ["py","pyi","py3","pyw","ptl",".pythonstartup",".pythonrc","SConstruct"]
#roots = []
#comment-token = "#"
#indent = { tab-width = 4, unit = " " }