thelastpsion, It's taken me a couple of hours to get an #LSP for #Pascal working in #NeoVim on Linux, but we're there!
I will document this (I need to do it again for the laptop), but in short:
- Install Lazarus 3.0.0 beta
- Get latest Lazarus trunk source
- git clone the LSP source
- Fix an issue with LSP source that's in an unmerged pull request
- Build the LSP as per README
- Set a couple of env variables
- Copy the
pasls
binary to your path- Add zero-lsp.nvim plugin
- enable pasls in zero-lsp config