News for hackers. Stuff that matters.
Re:The First HTML LSP That Reports Syntax Errors by ivanjermakov on Sunday September 15, 2024 @08:36PM (#41551680)
LSP server does not have to implement all of the spec to be useful. Just using document change and diagnostics allows to implement basic linter or spell checker.

I can recommend a nice video series on implementing LSP from scratch: https://youtube.com/playlist?list=PLq5tGLDKHlW9XKRj5-plHdvbk...

Re:The First HTML LSP That Reports Syntax Errors by kristoff_it on Sunday September 15, 2024 @08:39PM (#41551697)
Yep, the LSP mentioned in the blog post (I'm the author) only implements diagnostics and autoformatting for now. With just that you can already provide a lot of utility.

This is my starting point for implementing language servers in Zig: https://github.com/kristoff-it/zig-lsp-kit