dotfiles/dot_config/helix/languages.toml

22 lines
750 B
TOML
Raw Normal View History

[[language]]
name = "python"
roots = ["pyproject.toml"]
formatter = { command = "black", args = ["--quiet", "-"] }
#language-server = { command = "pyright-langserver", args = ["--stdio"] }
config = {}
auto-format = true
#name = "python"
#scope = "source.python"
#injection-regex = "python"
#file-types = ["py","pyi","py3","pyw","ptl",".pythonstartup",".pythonrc","SConstruct"]
#shebangs = ["python"]
#roots = []
#comment-token = "#"
#auto-format = true
#language-server = { command = "pylsp" }
#indent = { tab-width = 4, unit = " " }
#formatter = { command = "black", args = ["--quiet", "-"] }
#[[grammar]]
#name = "python"
#source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "62827156d01c74dc1538266344e788da74536b8a" }