From 4290b3d4afd2b1a1f7fff4009b9b92f916e957ff Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sun, 6 Nov 2022 15:05:47 +0100 Subject: [PATCH] Add helix config --- .config/helix/config.toml | 19 +++++++++++++++++++ .config/helix/languages.toml | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .config/helix/config.toml create mode 100644 .config/helix/languages.toml diff --git a/.config/helix/config.toml b/.config/helix/config.toml new file mode 100644 index 0000000..20b8379 --- /dev/null +++ b/.config/helix/config.toml @@ -0,0 +1,19 @@ +theme = "onedark" + +[editor] +mouse = false +shell = ["fish", "-c"] +line-number = "relative" +cursorline = true +true-color = true + +[editor.lsp] +display-messages = true + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.indent-guides] +render = true diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml new file mode 100644 index 0000000..111d338 --- /dev/null +++ b/.config/helix/languages.toml @@ -0,0 +1,20 @@ +[[language]] +name = "python" +roots = ["pyproject.toml"] +auto-format = true +formatter = { command = "black", args = ["-q", "-"] } + +[[language]] +name = "bash" +auto-format = true +formatter = { command = "beautysh" } + +[[language]] +name = "toml" +auto-format = true + +# TODO: djhtml +# TODO: dprint +# TODO: nginx_beautifier +# TODO: prettier +# TODO: stylua