Configure helix and ruff
- Make helix use ruff-lsp and pyright - Configure ruff to my specifications - Tweak a helix theme color or two
This commit is contained in:
parent
30fee03dd0
commit
ff2faf4e4c
3 changed files with 65 additions and 3 deletions
12
.config/helix/languages.toml
Normal file
12
.config/helix/languages.toml
Normal file
|
@ -0,0 +1,12 @@
|
|||
[[language]]
|
||||
name = "python"
|
||||
roots = ["pyproject.toml"]
|
||||
language-servers = ["pyright", "ruff"]
|
||||
auto-format = true
|
||||
|
||||
[language-server.pyright]
|
||||
command = "pyright-langserver"
|
||||
args = ["--stdio"]
|
||||
|
||||
[language-server.ruff]
|
||||
command = "ruff-lsp"
|
Loading…
Add table
Add a link
Reference in a new issue