@@ -25,7 +25,7 @@ Left: No Plugin, Right: vim-lsp-cxx-highlight + ccls
2525The plugin requires ` vim ` or ` neovim ` . For ` vim ` ` +timers ` and ` +byte_offset ` are
2626recommended but not required.
2727
28- Additionally a compatible language server and language server client is required.
28+ Additionally, a compatible language server and language server client is required.
2929
3030The following language servers and protocol extensions are supported:
3131
@@ -39,9 +39,10 @@ The following language servers and protocol extensions are supported:
3939
4040- ** [ clangd] ( https://clangd.llvm.org ) **
4141 - ** Requires** [ coc.nvim] ( https://github.com/neoclide/coc.nvim ) and [ coc-clangd] ( https://github.com/clangd/coc-clangd )
42- - Using the proposed [ Semantic Highlighting Protocol] ( microsoft/language-server-protocol#18 )
43- - ** IMPORTANT:** The latest versions of clangd (13+) are no longer compatible with vim-lsp-cxx-highlight
44- - There are have no plans to fix this, ever, instead please ask your LSP client to support Semantic Tokens
42+ - Using the proposed [ Semantic Highlighting Protocol] ( https://github.com/microsoft/language-server-protocol/issues/18 )
43+ - ** IMPORTANT:** coc-clangd supports 2 implementaions: "semantic highlighting" (old, non-standard)
44+ and "semantic tokens" (new, LSP standard). The latest versions of clangd (12+) require disabling
45+ coc's semantic tokens to work; see below.
4546
4647The following language server clients are supported:
4748
@@ -89,7 +90,8 @@ For `ccls` the following initializationOptions are needed:
8990For ` clangd ` ` coc-settings.json ` must have:
9091``` json
9192{
92- "clangd.semanticHighlighting" : true
93+ "clangd.semanticHighlighting" : true ,
94+ "coc.preferences.semanticTokensHighlights" : false
9395}
9496```
9597
@@ -125,7 +127,7 @@ let g:lsp_cxx_hl_use_text_props = 1
125127
126128** Note:** This is now automatically enabled for vim version 8.2 or greater
127129
128- This is a experimental feature so it may be quite buggy, please file bug reports!
130+ This is a experimental feature, so it may be quite buggy. Please file bug reports!
129131
130132
131133## License
0 commit comments