Hacker News new | ask | show | jobs
by ivanjermakov 638 days ago
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...

1 comments

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