All Projects → neoclide → Coc Highlight

neoclide / Coc Highlight

Document highlight and document colors LSP support for coc.nvim

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Coc Highlight

Coc Metals
coc.nvim extension for Metals, the Scala language server
Stars: ✭ 124 (-11.43%)
Mutual labels:  neovim
Vim Laravel
Vim support for Laravel/Lumen projects
Stars: ✭ 128 (-8.57%)
Mutual labels:  neovim
Paq Nvim
🌚 Neovim package manager
Stars: ✭ 131 (-6.43%)
Mutual labels:  neovim
Neotags.nvim
Tag highlight in neovim
Stars: ✭ 124 (-11.43%)
Mutual labels:  neovim
Completion Treesitter
Treesitter source for completion-nvim and more
Stars: ✭ 129 (-7.86%)
Mutual labels:  neovim
Docker Dev
Container images for portable development environments
Stars: ✭ 128 (-8.57%)
Mutual labels:  neovim
Neoman.vim
A modern man page plugin for vim
Stars: ✭ 121 (-13.57%)
Mutual labels:  neovim
Dots
Personal *nix configuration files
Stars: ✭ 136 (-2.86%)
Mutual labels:  neovim
Vim Clap
👏 Modern performant fuzzy picker for Vim and NeoVim
Stars: ✭ 1,802 (+1187.14%)
Mutual labels:  neovim
Vscode Neovim
VSCode Neovim Integration
Stars: ✭ 2,474 (+1667.14%)
Mutual labels:  neovim
Deoplete Rust
Rust completion for Neovim (Deoplete) via Racer
Stars: ✭ 126 (-10%)
Mutual labels:  neovim
Coc Solargraph
Solargraph extension for coc.nvim
Stars: ✭ 127 (-9.29%)
Mutual labels:  neovim
Vem Tabline
A lightweight Vim/Neovim plugin to display buffers and tabs in the tabline
Stars: ✭ 129 (-7.86%)
Mutual labels:  neovim
Coc Json
Json language extension for coc.nvim
Stars: ✭ 123 (-12.14%)
Mutual labels:  neovim
Shades Of Purple.vim
Dark theme for vim
Stars: ✭ 132 (-5.71%)
Mutual labels:  neovim
Nvim Bqf
Better quickfix window in Neovim, polish old quickfix window.
Stars: ✭ 120 (-14.29%)
Mutual labels:  neovim
Glrnvim
glrnvim wraps nvim with your favourite terminal into a standalone, non-fancy but daily-usable neovim GUI.
Stars: ✭ 129 (-7.86%)
Mutual labels:  neovim
Vime
vime, an easy and structural config for (neo)vim users
Stars: ✭ 136 (-2.86%)
Mutual labels:  neovim
Coc Yank
Yank highlight and persist yank history support for vim
Stars: ✭ 134 (-4.29%)
Mutual labels:  neovim
Nvimpager
Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting
Stars: ✭ 131 (-6.43%)
Mutual labels:  neovim

coc-highlight

Provide default highlight for coc.nvim, including document highlight (highlight of current document symbol) and colors highlight.

Screen Shot 2019-07-01 at 9 11 33 AM

Install

In your vim/neovim, run command:

:CocInstall coc-highlight

Features

  • Highlight symbol of current position in all positions of current buffer (when no document highlight provider exists from language server).
  • Highlight colors of current buffer (when no color provider exists from language server).

Usage

To enable highlight current symbol on CursorHold, add:

autocmd CursorHold * silent call CocActionAsync('highlight')

to your .vimrc.

To disable coc provide color highlight, add:

"coc.preferences.colorSupport": false,

to your settings.json.

To pick a different color, use command:

:call CocAction('pickColor')

Note: only works on Mac or have python gtk module installed.

To pick a different color presentation, use command:

:call CocAction('colorPresentation')

Options

  • highlight.disableLanguages, List of filetypes to ignore for this extension.
  • highlight.document.enable, Set to false to disable document symbol highlight.
  • highlight.colors.enable, Set to false to disable color highlight.
  • highlight.colorNames.enable, Set to false to disable highlight of color names.

F.A.Q

Q: Why color highlight is not shown on my vim?

A: First, make sure "coc.preferences.colorSupport" is not false in your coc-settings.json, then make sure you have set termguicolors in your .vimrc, and your terminal support true color.

Q: How to change highlight of the current symbol.

A: All you need is overwrite the highlight group, checkout :h coc-highlights

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].