From aca33c0acac29b63c570f079cc06a5458e6ac94c Mon Sep 17 00:00:00 2001 From: Dennis B Date: Sun, 28 Feb 2021 15:24:16 +1100 Subject: [highlights] Add TSSymbol highlight group Addresses issue #892 Ruby and Dart literal symbols will now be highlighted by the new TSSymbol highlight group, which itself will, by default, link to the Vim Identifier highlight group. Vim theme authors can then set their TSSymbol colors. Symbol highlighting can apply to a number of languages as noted in the following Wikipedia page: https://en.wikipedia.org/wiki/Symbol_(programming) Not just for Ruby and Dart. --- plugin/nvim-treesitter.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin') diff --git a/plugin/nvim-treesitter.vim b/plugin/nvim-treesitter.vim index 0bc3ae8d6..571f2945e 100644 --- a/plugin/nvim-treesitter.vim +++ b/plugin/nvim-treesitter.vim @@ -54,6 +54,7 @@ highlight default link TSConstructor Special highlight default link TSAnnotation PreProc highlight default link TSAttribute PreProc highlight default link TSNamespace Include +highlight default link TSSymbol Identifier highlight default link TSConditional Conditional highlight default link TSRepeat Repeat -- cgit v1.2.3-70-g09d2