From 54bfd0de4f3e947552ce254bfb8cf10d83152fde Mon Sep 17 00:00:00 2001 From: Maria José Solano Date: Sun, 3 Aug 2025 15:03:14 -0700 Subject: docs(lsp): mention default enablement of document colors (#35153) --- runtime/lua/vim/lsp/document_color.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/lsp/document_color.lua b/runtime/lua/vim/lsp/document_color.lua index c259ec652c..2fdfe2697b 100644 --- a/runtime/lua/vim/lsp/document_color.lua +++ b/runtime/lua/vim/lsp/document_color.lua @@ -286,15 +286,6 @@ end --- Enables document highlighting from the given language client in the given buffer. --- ---- You can enable document highlighting when a client attaches to a buffer as follows: ---- ```lua ---- vim.api.nvim_create_autocmd('LspAttach', { ---- callback = function(args) ---- vim.lsp.document_color.enable(true, args.buf) ---- end ---- }) ---- ``` ---- --- To "toggle", pass the inverse of `is_enabled()`: --- --- ```lua -- cgit