From e1102c135cb27c042936821f94c5a60ad7dfea20 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 21 Dec 2022 23:11:00 +0100 Subject: helix: Add basic config .config/helix/config.toml: Add basic config. .config/helix/languages.toml: Add auto-formatting for rust. --- .config/helix/config.toml | 20 ++++++++++++++++++++ .config/helix/languages.toml | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 .config/helix/config.toml create mode 100644 .config/helix/languages.toml (limited to '.config/helix') diff --git a/.config/helix/config.toml b/.config/helix/config.toml new file mode 100644 index 0000000..bcf5f44 --- /dev/null +++ b/.config/helix/config.toml @@ -0,0 +1,20 @@ +theme = "onedark" +[editor] +true-color = true +line-number = "relative" +shell = ["zsh", "-c"] + +[editor.cursor-shape] +insert = "bar" + +[editor.statusline] +left = ["mode", "spinner"] +center = ["file-name"] +right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"] +separator = "│" +mode.normal = "NORMAL" +mode.insert = "INSERT" +mode.select = "SELECT" + +[editor.lsp] +display-messages = true \ No newline at end of file diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml new file mode 100644 index 0000000..1f0de16 --- /dev/null +++ b/.config/helix/languages.toml @@ -0,0 +1,3 @@ +[[languages]] +name = "rust" +auto-format = true \ No newline at end of file -- cgit v1.2.3-70-g09d2