diff options
-rw-r--r-- | runtime/doc/lsp.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 530351acde..4cab716df0 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -297,7 +297,7 @@ To configure the behavior of a builtin |lsp-handler|, the conenvience method < or if using 'nvim-lspconfig', you can use the {handlers} key of `setup()`: > - require'lspconfig'.rust_analyzer.setup { + require('lspconfig').rust_analyzer.setup { handlers = { ["textDocument/publishDiagnostics"] = vim.lsp.with( vim.lsp.diagnostic.on_publish_diagnostics, { |