Helix

Configuration

In ~/.config/helix/:

config.toml

theme = "ahernp"

[editor]
line-number = "relative"
mouse = false
bufferline = "always"
color-modes = true

[editor.cursor-shape]
insert = "bar"

[editor.soft-wrap]
enable = true

[editor.statusline]
left = ["mode", "spinner", "version-control", "file-name", "file-modification-indicator"]

languages.toml

[[language]]
name = "python"
roots = [".git"]
auto-format = true
formatter = {command = 'black', args = ["--quiet", "-"]}

[language-server.pylsp]
config = {pylsp={plugins={pycodestyle={enabled=false},flake8={enabled=true,maxLineLength=120},pyflakes={enabled=false}}}}

[[language]]
name = "html"
auto-format = false
indent = { tab-width = 4, unit = "  " }

[[language]]
name = "css"
auto-format = false
indent = { tab-width = 4, unit = "  " }

[[language]]
name = "javascript"
auto-format = true

themes/ahernp.toml

inherits = "penumbra+"

"ui.statusline.insert" = { fg = "white", bg = "#FF0000" } 

Language servers

Check: hx --health [python|javascript|html|css]