lsp
URL: https://github.com/neovim/nvim-lspconfig/
Maintainers: Heitor Augusto
plugins.lsp.enable
Whether to enable lsp.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.lsp.package
The lsp package to use.
Type: package
Default:
pkgs.vimPlugins.nvim-lspconfig
Declared by:
plugins.lsp.autoLoad
Whether to automatically load lsp when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by:
plugins.lsp.callSetup
Whether to generate the standard require('lsp').setup(...) call for this plugin.
Explicitly set to true to force calling .setup().
Caution
A forced call can emit a duplicate or invalid setup. Some plugins generate custom setup code or have no real
lspLua module.
Type: boolean
Default:
false
Declared by:
plugins.lsp.capabilities
Lua code that modifies inplace the capabilities table.
Type: strings concatenated with “\n”
Default:
""
Example:
capabilities.textDocument.completion.completionItem.snippetSupport = true;
Declared by:
plugins.lsp.inlayHints
Whether to enable LSP inlay-hints globally.
See :h lsp-inlay_hint.
Type: boolean
Default:
false
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”
Declared by:
plugins.lsp.preConfig
Code to be run before loading the LSP. Useful for requiring plugins
Type: strings concatenated with “\n”
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: