mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +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
|
||||
--- -- and on, using buffer local variables
|
||||
--- signs = function(bufnr, client_id)
|
||||
--- return vim.bo[bufnr].show_signs == false
|
||||
--- signs = function(namespace, bufnr)
|
||||
--- return vim.b[bufnr].show_signs == true
|
||||
--- end,
|
||||
--- -- Disable a feature
|
||||
--- update_in_insert = false,
|
||||
|
Reference in New Issue
Block a user