[fpc-pascal] Pascal Language Server
nc-gaertnma at netcologne.de
Fri Apr 24 11:35:27 CEST 2020
On Fri, 24 Apr 2020 10:59:21 +0200
Arjan Adriaanse <arjan at adriaan.se> wrote:
> The options for initializing CodeToolsBoss are passed through
> environment variables as described at
> https://wiki.lazarus.freepascal.org/Codetools .
> For example, mine are set up as follows through the Emacs client
> However, specifying the Lazarus source path does not seem to suffice
> to find the units of a component like CodeTools. Therefore I would
> recommend testing on simple code without many dependencies for now.
The LAZARUSDIR merely sets a macro. There is no currently no code in
codetools that scans Lazarus packages.
In Short: You can omit LAZARUSDIR.
Setting PP might be useful.
You can add unit and include paths:
More information about the fpc-pascal