diff options
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lsp.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index b73e2958ef..b21ef9d7d3 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -51,8 +51,11 @@ Starting a LSP client will automatically report diagnostics via |vim.diagnostic|. Read |vim.diagnostic.config()| to learn how to customize the display. -It also sets some buffer options if the options are otherwise empty and if the -language server supports the functionality. +It also sets some buffer options if the language server supports the +functionality and if the options are otherwise empty or have the default +values set by Nvim runtime files (e.g. a ftplugin). In the latter case, +the default values are not restored when the LSP client is detached from +the buffer. - 'omnifunc' is set to |vim.lsp.omnifunc()|. This allows to trigger completion using |i_CTRL-X_CTRL-O| |