aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-05-04 00:16:04 +0200
committerDavid Runge <dave@sleepmap.de>2023-05-04 00:16:04 +0200
commitfee2014444c77b2a53502e7b74e7c79843dd19a4 (patch)
treed3b4827e0f597fdd5d99c77c1ef4ebc6a156c0a7
parent986789f32d83b2ccd41e9eebc170b253f43f5002 (diff)
downloaddotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.tar.gz
dotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.tar.bz2
dotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.tar.xz
dotfiles-fee2014444c77b2a53502e7b74e7c79843dd19a4.zip
Update helix configuration for 23.03.
-rw-r--r--.config/helix/config.toml7
-rw-r--r--.config/helix/languages.toml10
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]