docs: Follow conventions

This commit is contained in:
rockerBOO 2020-11-16 01:13:15 -05:00
parent 46ab054b1d
commit fb19663851

View File

@ -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()`: > or if using 'nvim-lspconfig', you can use the {handlers} key of `setup()`: >
require'lspconfig'.rust_analyzer.setup { require('lspconfig').rust_analyzer.setup {
handlers = { handlers = {
["textDocument/publishDiagnostics"] = vim.lsp.with( ["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, { vim.lsp.diagnostic.on_publish_diagnostics, {