mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -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()`: >
|
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, {
|
||||||
|
Loading…
Reference in New Issue
Block a user