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:
parent
b06533b3d2
commit
4290b3d4af
2 changed files with 39 additions and 0 deletions
19
.config/helix/config.toml
Normal file
19
.config/helix/config.toml
Normal 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
|
20
.config/helix/languages.toml
Normal file
20
.config/helix/languages.toml
Normal 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
|
Loading…
Reference in a new issue