You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-12-08T11:23:05.434 helix_view::editor [ERROR] Failed to initialize the language servers for `source.md` - `markman` { Language server 'markman' not defined }
Summary
I have got diagnostic-languageserver working with Helix.
Everything works fine except linters with the
onSaveOnly
option set totrue
.I did some research and found that the
onDidSave
handler right here is never being called.In NeoVIM
onSaveOnly
works as expected andonDidSave
is being called.Reproduction Steps
I tried this:
diagnostic-languageserver
;languages.toml
(see below);helix test.md
;:w
to start linter;No warning is reported. But it should.
onSaveOnly
inlanguages.toml
;helix test.md
.Warning will appear on first line.
Same with NeoVIM:
diagnostic-languageserver
if not yet installed;lspconfig
module;~/.config/neovim/init.lua
(see below);nvim test.md
;:w
to start linter.Warning will appear on first line.
Minimal
languages.toml
:Minimal nvim's
init.lua
:Helix log
~/.cache/helix/helix.log
Platform
Linux / Manjaro and OpenSUSE
Terminal Emulator
gnome-console / tmux
Installation Method
pacman / zypper and buit from source
Helix Version
helix 23.10 (f6021dd) / helix 23.10 (b81aacc)
The text was updated successfully, but these errors were encountered: