Syntax- and nvim highlighting of variables in format! macro
See original GitHub issueRust 1.58 introduced a new syntax, format!("Info: {variable:?}")
.
This isn’t syntax highlighted nor seen as a variable when highlighting / renaming the variable.
[coc.nvim] rust-analyzer bc08b8eff 2022-03-28 stablevim version: NVIM v0.6.1 node version: v17.8.0 coc.nvim version: 0.0.80-12d84da5 2022-03-21 18:11:22 +0800 coc.nvim directory: /home/icelk/.local/share/nvim/plugged/coc.nvim term: xterm-kitty platform: linux
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Syntax - Neovim docs
Syntax highlighting enables Vim to show parts of the text in another font or color. Those parts can be specific keywords or text...
Read more >neovim/syntax.txt at master · neovim/neovim - GitHub
Syntax highlighting enables Vim to show parts of the text in another font or ... colors of their contents (e.g. PPWizard macros and...
Read more >VIM - Syntax classes and colorscheme - Stack Overflow
Syntax highlighting is done in two steps: highlight groups are defined with regular expressions in a "syntax script" and often linked to ...
Read more >syntax highlighting - net
Syntax highlighting allows text of specific file types to be color coded for readability. ... Where the "Type" format is already defined in...
Read more >Vim Syntax Highlighting - Linux Hint
Syntax highlighting is on for vim editor by default. The content of login.sh will be displayed with the following format when the syntax...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Icelk for the highlighting issue, you can add
rust
tosemanticTokens.filetypes
in your coc-settings.json, this will use semantic highlighting.Thanks so much. The issue is resolved now.