diff options
-rw-r--r-- | .config/helix/languages.toml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 81722b5..270e3a4 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -10,3 +10,22 @@ text-width = 80 file-types = ["mutt"] indent = { tab-width = 2, unit = " " } roots = [] + +[[language]] +name = "python" +language-servers = [ "pyright" ] + +# [[language]] +# name = "python" +# language-servers = [ "ruff" ] +# auto-format = true + +# [language-server.ruff] +# command = "ruff-lsp" + +# [language-server.ruff.config.settings] +# args = ["--ignore", "E501"] + +# [language.formatter] +# command = "ruff" +# args = ["format", "--check", "-q", "-"] |