Config.toml

theme = "everforest_dark"

[editor]
true-color = true
end-of-line-diagnostics = "hint"

[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"

[editor.lsp]
display-progress-messages = true
display-inlay-hints = true

[editor.auto-save]
focus-lost = true
after-delay.enable = true

[editor.indent-guides]
render = true

[editor.gutters.line-numbers]
min-width = 1

[editor.inline-diagnostics]
cursor-line = "error"
other-lines = "disable"

languages.toml

[[language]]
name = "rust"
[[language-server.rust-analyzer.config.check]]
command = "clippy"

[[language]]
name = "lua"

执行的几条命令

hx --grammar fetch
hx --grammar build