~koehr/configs

72f5be9e008951a441dadc096605fe187ed0e52d — Norman Köhring 3 months ago c819009
update helix config
2 files changed, 15 insertions(+), 9 deletions(-)

M dot.config/helix/config.toml
M dot.config/helix/languages.toml
M dot.config/helix/config.toml => dot.config/helix/config.toml +10 -5
@@ 19,15 19,20 @@ render = true
character = "▏" # Some characters that work well: "▏", "┆", "┊", "⸽"
skip-levels = 1

[editor.whitespace]
render = "all"
[editor.whitespace.render]
space = "all"
tab = "all"
nbsp = "all"
nnbsp = "all"
newline = "all"

[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
tab = "→"
newline = "¬" #"⏎"
tabpad = "·"  # Tabs will look like "→···" (depending on tab width)
nnbsp = "␣"
tab = "⇥" # "→"
newline = "⮒" # "¬" #"⏎"
tabpad = "·" # Tabs will look like "→···" (depending on tab width)

[editor.lsp]
enable = true

M dot.config/helix/languages.toml => dot.config/helix/languages.toml +5 -4
@@ 20,6 20,7 @@ run = "onType"
validate = "on"
experimental = {}
problems = { shortenToSingleLine = false }
provideFormatter = true

[language-server.eslint.config.codeAction]
disableRuleComment = { enable = true, location = "separateLine" }


@@ 68,12 69,12 @@ feature_paths = true          # enable path completion
[[language]]
name = "typescript"
auto-format = true
language-servers = [ "scls", "typescript-language-server", "eslint", "emmet-ls", "gpt" ]
language-servers = [ "typescript-language-server", "eslint", "emmet-ls", "scls", "gpt" ]
formatter = { command = "prettier", args = [ "--parser", "typescript" ] }

[[language]]
name = "javascript"
language-servers = [ "scls", "typescript-language-server", "eslint", "emmet-ls", "gpt" ]
language-servers = [ "typescript-language-server", "eslint", "emmet-ls", "scls", "gpt" ]
formatter = { command = "prettier", args = [ "--parser", "typescript" ] }
auto-format = true



@@ 84,7 85,7 @@ auto-format = true

[[language]]
name = "html"
language-servers = [ "scls", "vscode-html-language-server", "emmet-ls", "gpt" ]
language-servers = [ "vscode-html-language-server", "emmet-ls", "scls", "gpt" ]
formatter = { command = 'prettier', args = ["--parser", "html"] }
auto-format = true
[language.auto-pairs]


@@ 98,7 99,7 @@ auto-format = true

[[language]]
name = "css"
language-servers = [ "scls", "vscode-css-language-server", "emmet-ls", "gpt" ]
language-servers = [ "vscode-css-language-server", "scls", "gpt" ]
formatter = { command = 'prettier', args = ["--parser", "css"] }
auto-format = true