Skip to content

Nim#

Server#

For more information about the LSP server, check nimlsp.

Installation#

nimble install nimlsp

Debugger: Not available#

Available configurations#

lsp-nim-auto-check-file#

Type: boolean

Default: t

Check the file on the fly


lsp-nim-auto-check-project#

Type: boolean

Default: t

Check the project after saving the file


lsp-nim-langserver#

Type: number

Default: nimlangserver

Path to `nimlangserver'


lsp-nim-lsp#

Type: number

Default: nimlsp

Path to `nimlsp'


lsp-nim-nimsuggest-path#

Type: number

Default: nimsuggest

Path to `nimsuggest' to use.


lsp-nim-project-mapping#

Type: (lsp-repeatable-vector plist)

Default: []

Nimsuggest project mapping. Sample value

[(:projectFile "root.nim" :fileRegex ".*.nim")]


lsp-nim-timeout#

Type: number

Default: 120000

Timeout for restarting `nimsuggest'


lsp-v-analyzer-path#

Type: number

Default: v-analyzer

Path to v-analyzer' Leave as just the executable name to use the default behavior of finding the executable with variableexec-path'.



Last update: January 16, 2025