An LSP server implementation for Pascal variants that are supported by Free Pascal, including Object Pascal. It uses CodeTools from Lazarus as backend.
The implementation is still incomplete and unstable. Currently only code completion is supported. Any help and feedback is welcome.
To use the server from lsp-mode
in Emacs, install the separate
lsp-pascal
module.
Requires Free Pascal Compiler version 3.2.0 and Lazarus version 2.0.8, open the project file in Lazarus or use the commandline:
lazbuild pasls.lpi