diff options
author | David Runge <dave@sleepmap.de> | 2022-12-21 23:11:00 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2022-12-21 23:11:00 +0100 |
commit | e1102c135cb27c042936821f94c5a60ad7dfea20 (patch) | |
tree | fe512ec2a0c408d6b2522705d23743749fe91315 | |
parent | fa27ce35dce6fbd474f8eb191662b4b9faa0e956 (diff) | |
download | dotfiles-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.
-rw-r--r-- | .config/helix/config.toml | 20 | ||||
-rw-r--r-- | .config/helix/languages.toml | 3 |
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 |