Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

lsp-format-modifications

URL: https://github.com/joechrisellis/lsp-format-modifications.nvim/

Maintainers: Yury Shvedov


LSP formatting, but only on modified text regions.

plugins.lsp-format-modifications.enable

Whether to enable lsp-format-modifications.

Type: boolean

Default:

false

Example:

true

Declared by:

plugins.lsp-format-modifications.package

The lsp-format-modifications package to use.

Type: package

Default:

pkgs.vimPlugins.lsp-format-modifications-nvim

Declared by:

plugins.lsp-format-modifications.autoLoad

Whether to automatically load lsp-format-modifications when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example:

false

Declared by:

plugins.lsp-format-modifications.callSetup

Whether to generate the standard require('lsp-format-modifications').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 lsp-format-modifications Lua module.

Type: boolean

Default:

false

Declared by: