Skip to content

PLS#

Server#

For more information about the LSP server, check Perl Language Server.

Installation#

cpan PLS

Debugger: Not available#

Available configurations#

lsp-pls-arguments#

Type: (repeat 'string)

Default: nil

Additional arguments needed to execute PLS.


lsp-pls-executable#

Type: (string)

Default: pls

Full path to the PLS executable.


lsp-pls-include#

Type: (repeat 'string)

Default: nil

Paths to be added to your @INC.


lsp-pls-perlcritic-enabled#

Type: (boolean)

Default: t

Enable perlcritic checking.


lsp-pls-perlcritic-rc#

Type: (string)

Default: nil

Path to your .perlcriticrc file. Default is "~/.perlcriticrc" when not configured.


lsp-pls-perltidy-rc#

Type: (string)

Default: nil

Path to your .perltidyrc file. Default is "~/.perltidyrc" when not configured.


lsp-pls-syntax-args#

Type: (repeat 'string)

Default: nil

Additional arguments to pass to Perl when syntax checking. This is useful if there is a BEGIN block in your code that changes behavior depending on the contents of @ARGV.


lsp-pls-syntax-enabled#

Type: (boolean)

Default: t

Enable syntax checking.


lsp-pls-syntax-perl#

Type: (string)

Default: nil

Full path to an alternate perl used for syntax checking. By default, the perl used to run PLS will be used.


lsp-pls-working-dir#

Type: (string)

Default: nil

Working directory to run PLS in. Defaults to the workspace root when not configured.



Last update: December 20, 2024