aboutsummaryrefslogtreecommitdiffstats
path: root/.config/helix
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-12-21 23:11:00 +0100
committerDavid Runge <dave@sleepmap.de>2022-12-21 23:11:00 +0100
commite1102c135cb27c042936821f94c5a60ad7dfea20 (patch)
treefe512ec2a0c408d6b2522705d23743749fe91315 /.config/helix
parentfa27ce35dce6fbd474f8eb191662b4b9faa0e956 (diff)
downloaddotfiles-e1102c135cb27c042936821f94c5a60ad7dfea20.tar.gz
dotfiles-e1102c135cb27c042936821f94c5a60ad7dfea20.tar.bz2
dotfiles-e1102c135cb27c042936821f94c5a60ad7dfea20.tar.xz
dotfiles-e1102c135cb27c042936821f94c5a60ad7dfea20.zip
helix: Add basic config
.config/helix/config.toml: Add basic config. .config/helix/languages.toml: Add auto-formatting for rust.
Diffstat (limited to '.config/helix')
-rw-r--r--.config/helix/config.toml20
-rw-r--r--.config/helix/languages.toml3
2 files changed, 23 insertions, 0 deletions
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