1
1
Fork 0

Merge branch 'master' of ssh://gitea.mh3000.net:22215/SysTools/misc-tools

This commit is contained in:
Michael Hoess 2024-04-09 21:58:06 +02:00
commit e76590600c
1 changed files with 25 additions and 0 deletions

25
helix/languages.toml Normal file
View File

@ -0,0 +1,25 @@
# For truecolor in zellij
# -----------------------
# add to .basrc
# alias chx="COLORTERM=truecolor hx"
# Python3-LSP:
# -----------
# python3 -m pip install ruff-lsp python-lsp_server black --break-system-packages
# in CMK:
# cd ~/local/bin
# ln -s ~/local/lib/python3/bin/ruff* .
# ln -s ~/local/bin/pylsp .
#
# This combo also notifies on unused vars etc.
[language-server.ruff-lsp]
command = "ruff-lsp"
[[language]]
name = "python"
language-servers = [ "ruff-lsp", "pylsp" ]
# In case you'd like to use ruff alongside black for code formatting:
formatter = { command = "black", args = ["--quiet", "-"] }
auto-format = true