mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
docs: Follow conventions
This commit is contained in:
parent
46ab054b1d
commit
fb19663851
@ -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, {
|
||||
|
Loading…
Reference in New Issue
Block a user