Mercurial > dotfiles
changeset 804:72828b1204a3
feat: add helix config
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 26 Nov 2023 10:56:56 +0100 |
parents | 6f98a4e34c71 |
children | 839151e45b73 |
files | dot_config/helix/config.toml dot_config/helix/languages.toml |
diffstat | 2 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_config/helix/config.toml Sun Nov 26 10:56:56 2023 +0100 @@ -0,0 +1,17 @@ +theme = "tutticolori" + +[editor] +line-number = "relative" +cursorline = true + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.indent-guides] +render = true +skip-levels = 1 + +[keys.insert] +C-f = "move_char_right"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_config/helix/languages.toml Sun Nov 26 10:56:56 2023 +0100 @@ -0,0 +1,13 @@ +[language-server.pyright-langserver] +command = "pyright-langserver" +args = ["--stdio"] +config = {} + +[language-server.ruff-lsp] +command = "ruff-lsp" + +[[language]] +name = "python" +roots = ["pyproject.toml"] +formatter = { command = "black", args = ["--quiet", "-"] } +language-servers = ["ruff-lsp", "pyright-langserver"]