mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
docs(lsp): fix on_publish_diagnostics example (#17146)
This commit is contained in:
@@ -168,8 +168,8 @@ end
|
|||||||
--- },
|
--- },
|
||||||
--- -- Use a function to dynamically turn signs off
|
--- -- Use a function to dynamically turn signs off
|
||||||
--- -- and on, using buffer local variables
|
--- -- and on, using buffer local variables
|
||||||
--- signs = function(bufnr, client_id)
|
--- signs = function(namespace, bufnr)
|
||||||
--- return vim.bo[bufnr].show_signs == false
|
--- return vim.b[bufnr].show_signs == true
|
||||||
--- end,
|
--- end,
|
||||||
--- -- Disable a feature
|
--- -- Disable a feature
|
||||||
--- update_in_insert = false,
|
--- update_in_insert = false,
|
||||||
|
Reference in New Issue
Block a user