Posted by rumno0 4 days ago
Now that I think about it, it might be really cool to add LSP to my CLI framework[0] (I already have tab completion for shells, why not make an editor plugin if it's this easy ..)
Language servers are cool!
Another time I used one to make the hosts in my SSH configuration file clickable to either open a terminal with a session or just to display cpu/memory statistics.
Lots of neat editor-independent interactions can be enabled using language servers.
Thankfully, I finally had a reason to build an LSP (infracost LSP), so it motivated this and I'm really pleased with it
// DiagnosticSeverity indicates the severity of a diagnostic.
type DiagnosticSeverity int
Hmmm :robot:If you add one, at least make the effort to provide some useful information. For example which is more severe: higher or lower numbers.