mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 23:50:19 -05:00
fix: remove typo from buffer-local LSP docs (#35841)
Problem: example code refers to `vim.lsp.buf.document_color`, but there is no such thing. Solution: replace `vim.lsp.buf.document_color` with `vim.lsp.document_color`.
This commit is contained in:
1 parent
09266830bd
commit
7b99e1f0c3
1 file changed
+1
-1
+1
-1
@@ -115,7 +115,7 @@ To remove or override BUFFER-LOCAL defaults, define a |LspAttach| handler: >lua
|
||||
-- Unmap K
|
||||
vim.keymap.del('n', 'K', { buffer = args.buf })
|
||||
-- Disable document colors
|
||||
vim.lsp.buf.document_color.enable(false, args.buf)
|
||||
vim.lsp.document_color.enable(false, args.buf)
|
||||
end,
|
||||
})
|
||||
<
|
||||
|
||||
Reference in new issue
Block a user