diff options
author | David Runge <dave@sleepmap.de> | 2023-05-04 00:16:04 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2023-05-04 00:16:04 +0200 |
commit | fee2014444c77b2a53502e7b74e7c79843dd19a4 (patch) | |
tree | d3b4827e0f597fdd5d99c77c1ef4ebc6a156c0a7 /.config/helix | |
parent | 986789f32d83b2ccd41e9eebc170b253f43f5002 (diff) | |
download | dotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.tar.gz dotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.tar.bz2 dotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.tar.xz dotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.zip |
Update helix configuration for 23.03.
Diffstat (limited to '.config/helix')
-rw-r--r-- | .config/helix/config.toml | 7 | ||||
-rw-r--r-- | .config/helix/languages.toml | 10 |
2 files changed, 15 insertions, 2 deletions
diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 015a3de..b0d0c58 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -1,14 +1,19 @@ theme = "onedark" + [editor] true-color = true line-number = "relative" shell = ["zsh", "-c"] +text-width = 120 [editor.cursor-shape] insert = "bar" +[editor.soft-wrap] +enable = true + [editor.statusline] -left = ["mode", "spinner"] +left = ["version-control", "mode", "spinner"] center = ["file-name"] right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"] separator = "│" diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index eeeedba..8b5416c 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -3,12 +3,20 @@ name = "rust" auto-format = true [[language]] +name = "email" +scope = "source.text" +auto-format = true +text-width = 80 +file-types = ["mutt"] +indent = { tab-width = 2, unit = " " } +roots = [] + +[[language]] name = "python" scope = "source.python" auto-format = true shebangs = ["python", "python3"] roots = ["pyproject.toml", "setup.py", "setup.cfg", "SConstruct"] -max-line-length = 120 language-server = { command = "pylsp" } [language.config.pylsp.plugins.flake8] |