dotfiles/dot_config/helix/languages.toml

15 lines
494 B
TOML

[[language]]
name = "python"
roots = ["pyproject.toml"]
formatter = { command = "black", args = ["--quiet", "-"] }
config = {pylsp={plugins={pycodestyle={enabled=false},flake8={enabled=true,maxLineLength=89},pyflakes={enabled=false}}}}
auto-format = true
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 = " " }