diff --git a/helix/languages.toml b/helix/languages.toml new file mode 100644 index 0000000..32c9b10 --- /dev/null +++ b/helix/languages.toml @@ -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 \ No newline at end of file