diff options
| author | Maria José Solano <majosolano99@gmail.com> | 2025-08-03 15:03:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-03 15:03:14 -0700 |
| commit | 54bfd0de4f3e947552ce254bfb8cf10d83152fde (patch) | |
| tree | 662f31a9e10362eee93cd0c6a8749845c231dada /runtime/lua/vim | |
| parent | c789d799663d6fffa6599388a46289672bed11e3 (diff) | |
| download | rneovim-54bfd0de4f3e947552ce254bfb8cf10d83152fde.tar.gz rneovim-54bfd0de4f3e947552ce254bfb8cf10d83152fde.tar.bz2 rneovim-54bfd0de4f3e947552ce254bfb8cf10d83152fde.zip | |
docs(lsp): mention default enablement of document colors (#35153)
Diffstat (limited to 'runtime/lua/vim')
| -rw-r--r-- | runtime/lua/vim/lsp/document_color.lua | 9 |
1 files changed, 0 insertions, 9 deletions
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 |