Restore TS* highlight groups
This commit is contained in:
parent
3431d5c747
commit
ed78f2f6b1
1 changed files with 32 additions and 0 deletions
|
@ -68,6 +68,38 @@ endif
|
|||
" specification.
|
||||
" https://github.com/nvim-treesitter/nvim-treesitter/blob/master/plugin/nvim-treesitter.vim
|
||||
if exists('g:loaded_nvim_treesitter')
|
||||
" deplicated TS* highlight groups
|
||||
" see https://github.com/nvim-treesitter/nvim-treesitter/pull/3656
|
||||
" # Misc
|
||||
hi! link TSPunctSpecial Special
|
||||
" # Constants
|
||||
hi! link TSConstMacro Macro
|
||||
hi! link TSStringEscape Character
|
||||
hi! link TSSymbol DraculaPurple
|
||||
hi! link TSAnnotation DraculaYellow
|
||||
hi! link TSAttribute DraculaGreenItalic
|
||||
" # Functions
|
||||
hi! link TSFuncBuiltin DraculaCyan
|
||||
hi! link TSFuncMacro Function
|
||||
hi! link TSParameter DraculaOrangeItalic
|
||||
hi! link TSParameterReference DraculaOrange
|
||||
hi! link TSField DraculaOrange
|
||||
hi! link TSConstructor DraculaCyan
|
||||
" # Keywords
|
||||
hi! link TSLabel DraculaPurpleItalic
|
||||
" # Variable
|
||||
hi! link TSVariableBuiltin DraculaPurpleItalic
|
||||
" # Text
|
||||
hi! link TSStrong DraculaFgBold
|
||||
hi! link TSEmphasis DraculaFg
|
||||
hi! link TSUnderline Underlined
|
||||
hi! link TSTitle DraculaYellow
|
||||
hi! link TSLiteral DraculaYellow
|
||||
hi! link TSURI DraculaYellow
|
||||
" HTML and JSX tag attributes. By default, this group is linked to TSProperty,
|
||||
" which in turn links to Identifer (white).
|
||||
hi! link TSTagAttribute DraculaGreenItalic
|
||||
|
||||
" # Misc
|
||||
hi! link @punctuation.delimiter Delimiter
|
||||
hi! link @punctuation.bracket Normal
|
||||
|
|
Loading…
Reference in a new issue