I just finished a write-up on my custom LSP. You might like it.
https://atharqadri.com/posts/building-finlang/

Athar QadriBuilding Finlang: A Language Server for Finacle Scripts · Athar QadriHow we designed and implemented an LSP server that brings diagnostics, hover documentation, and completion to Finacle scripts.
commit 4d04609