helix
This commit is contained in:
parent
491f690db5
commit
b4a67c2988
2 changed files with 29 additions and 0 deletions
7
.config/helix/config.toml
Normal file
7
.config/helix/config.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
theme = "rose_pine"
|
||||
|
||||
[editor]
|
||||
auto-format = true
|
||||
|
||||
[editor.lsp]
|
||||
display-messages = true
|
22
.config/helix/languages.toml
Normal file
22
.config/helix/languages.toml
Normal file
|
@ -0,0 +1,22 @@
|
|||
[[language]]
|
||||
name = "javascript"
|
||||
auto-format = true
|
||||
formatter = { command = 'prettier', args = ["--parser=javascript"] }
|
||||
|
||||
[[language]]
|
||||
name = "typescript"
|
||||
auto-format = true
|
||||
formatter = { command = 'prettier', args = ["--parser=typescript"] }
|
||||
|
||||
[[language]]
|
||||
name = "html"
|
||||
formatter = { command = 'prettier', args = ["--parser=html"] }
|
||||
|
||||
[[language]]
|
||||
name = "css"
|
||||
formatter = { command = 'prettier', args = ["--parser=css"] }
|
||||
|
||||
[[language]]
|
||||
name = "go"
|
||||
auto-format = true
|
||||
formatter = { command = 'goimports' }
|
Loading…
Reference in a new issue