Merge branch 'master' of ssh://gitea.mh3000.net:22215/SysTools/misc-tools
This commit is contained in:
commit
e76590600c
|
|
@ -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
|
||||||
Loading…
Reference in New Issue