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"
|
|
@ -18,7 +18,7 @@
|
|||
"ui.text" = "base05"
|
||||
"operator" = "base05"
|
||||
"ui.text.focus" = "base05"
|
||||
"variable" = "base08"
|
||||
"variable" = "base09"
|
||||
"constant.numeric" = "base09"
|
||||
"constant" = "base09"
|
||||
"attribute" = "base09"
|
||||
|
@ -26,12 +26,12 @@
|
|||
"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] }
|
||||
"string" = "base0B"
|
||||
"variable.other.member" = "base08"
|
||||
"constant.character.escape" = "base0C"
|
||||
"constant.character.escape" = "base08"
|
||||
"function" = "base0D"
|
||||
"constructor" = "base0D"
|
||||
"special" = "base0D"
|
||||
"keyword" = "base0E"
|
||||
"label" = "base0E"
|
||||
"label" = "base0A"
|
||||
"namespace" = "base0E"
|
||||
"ui.help" = { fg = "base06", bg = "base01" }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue