Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit cc80db8

Browse files
nullromojackguo380
authored andcommitted
clarify in the README that disabling semantic tokens is just disabling the newer implementation of it.
1 parent 8a62db3 commit cc80db8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Left: No Plugin, Right: vim-lsp-cxx-highlight + ccls
2525
The plugin requires `vim` or `neovim`. For `vim` `+timers` and `+byte_offset` are
2626
recommended 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

3030
The following language servers and protocol extensions are supported:
3131

@@ -40,7 +40,9 @@ The following language servers and protocol extensions are supported:
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)
4242
- Using the proposed [Semantic Highlighting Protocol](https://github.com/microsoft/language-server-protocol/issues/18)
43-
- **IMPORTANT:** The latest versions of clangd (12+) require disabling Semantic Tokens to work, see below.
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.
4446

4547
The following language server clients are supported:
4648

@@ -120,7 +122,7 @@ let g:lsp_cxx_hl_use_text_props = 1
120122

121123
**Note:** This is now automatically enabled for vim version 8.2 or greater
122124

123-
This is a experimental feature so it may be quite buggy, please file bug reports!
125+
This is a experimental feature, so it may be quite buggy. Please file bug reports!
124126

125127

126128
## License

0 commit comments

Comments
 (0)