aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lsp.txt
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-02-13 09:25:05 -0500
committerGitHub <noreply@github.com>2022-02-13 09:25:05 -0500
commit046950f6309070d98ab5a3deeff9d00e079ccdd4 (patch)
treedab6ff892f689f8ae07eac08057fe1248122424e /runtime/doc/lsp.txt
parent5d6bef0f6e5e6fc2daa12a0d7e1f5d63df59926e (diff)
parent45e666fb92222c0cdd1892e1853f209a4b847d06 (diff)
downloadrneovim-046950f6309070d98ab5a3deeff9d00e079ccdd4.tar.gz
rneovim-046950f6309070d98ab5a3deeff9d00e079ccdd4.tar.bz2
rneovim-046950f6309070d98ab5a3deeff9d00e079ccdd4.zip
Merge pull request #17154 from neovim/marvim/api-doc-update/master
docs: regenerate [skip ci]
Diffstat (limited to 'runtime/doc/lsp.txt')
-rw-r--r--runtime/doc/lsp.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index f6fcbe8fb9..d717759444 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1225,8 +1225,8 @@ on_publish_diagnostics({_}, {result}, {ctx}, {config})
},
-- 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,