diff options
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] |