1
1
Fork 0

helix/languages.toml hinzugefügt

This commit is contained in:
Michael Hoess 2024-03-05 21:20:19 +00:00
parent fc43b10731
commit 65f17bd393
1 changed files with 14 additions and 0 deletions

14
helix/languages.toml Normal file
View File

@ -0,0 +1,14 @@
# Python3-LSP:
# python3 -m pip install ruff-lsp black --break-system-packages
# This combo also notifies on unused vars etc.
[language-server.ruff-lsp]
command = "ruff-lsp"
[[language]]
name = "python"
language-servers = [ "ruff-lsp" ]
# In case you'd like to use ruff alongside black for code formatting:
formatter = { command = "black", args = ["--quiet", "-"] }
auto-format = true