plugins.lsp.enable

Whether to enable neovim’s built-in LSP.

Type: boolean

Default: false

Example: true

Declared by:

plugins.lsp.package

The nvim-lspconfig package to use.

Type: package

Default: pkgs.vimPlugins.nvim-lspconfig

Declared by:

plugins.lsp.capabilities

Lua code that modifies inplace the capabilities table.

Type: strings concatenated with “\n”

Default: ""

Declared by:

plugins.lsp.inlayHints

Whether to enable LSP inlay-hints. Only affects language servers with inlay-hints support.

See :h lsp-inlay_hint.

Type: boolean

Default: false

Example: true

Declared by:

plugins.lsp.onAttach

A lua function to be run when a new LSP buffer is attached. The argument client and bufnr is provided.

Type: strings concatenated with “\n”

Default: ""

Declared by:

plugins.lsp.postConfig

Code to be run after loading the LSP. This is an internal option

Type: strings concatenated with “\n”

Default: ""

Declared by:

plugins.lsp.preConfig

Code to be run before loading the LSP. Useful for requiring plugins

Type: strings concatenated with “\n”

Default: ""

Declared by:

plugins.lsp.setupWrappers

Code to be run to wrap the setup args. Takes in an argument containing the previous results, and returns a new string of code.

Type: list of function that evaluates to a(n) string

Default: [ ]

Declared by: