1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Add helix config

This commit is contained in:
Mo 2022-11-06 15:05:47 +01:00
parent b06533b3d2
commit 4290b3d4af
2 changed files with 39 additions and 0 deletions

19
.config/helix/config.toml Normal file
View file

@ -0,0 +1,19 @@
theme = "onedark"
[editor]
mouse = false
shell = ["fish", "-c"]
line-number = "relative"
cursorline = true
true-color = true
[editor.lsp]
display-messages = true
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
render = true

View file

@ -0,0 +1,20 @@
[[language]]
name = "python"
roots = ["pyproject.toml"]
auto-format = true
formatter = { command = "black", args = ["-q", "-"] }
[[language]]
name = "bash"
auto-format = true
formatter = { command = "beautysh" }
[[language]]
name = "toml"
auto-format = true
# TODO: djhtml
# TODO: dprint
# TODO: nginx_beautifier
# TODO: prettier
# TODO: stylua