Add default values lost due to breaking changes in nvim-treesitter

This commit is contained in:
yuys13 2022-10-17 23:44:06 +09:00
parent dbc09df252
commit 3431d5c747

View file

@ -69,31 +69,46 @@ endif
" https://github.com/nvim-treesitter/nvim-treesitter/blob/master/plugin/nvim-treesitter.vim " https://github.com/nvim-treesitter/nvim-treesitter/blob/master/plugin/nvim-treesitter.vim
if exists('g:loaded_nvim_treesitter') if exists('g:loaded_nvim_treesitter')
" # Misc " # Misc
hi! link @punctuation.delimiter Delimiter
hi! link @punctuation.bracket Normal
hi! link @punctuation.special Special hi! link @punctuation.special Special
" # Constants " # Constants
hi! link @constant Constant
hi! link @constant.builtin Constant
hi! link @constant.macro Macro hi! link @constant.macro Macro
hi! link @string.regex String
hi! link @string.escape Character hi! link @string.escape Character
hi! link @symbol DraculaPurple hi! link @symbol DraculaPurple
hi! link @annotation DraculaYellow hi! link @annotation DraculaYellow
hi! link @attribute DraculaGreenItalic hi! link @attribute DraculaGreenItalic
hi! link @namespace Structure
" # Functions " # Functions
hi! link @function.builtin DraculaCyan hi! link @function.builtin DraculaCyan
hi! link @funcion.macro Function hi! link @funcion.macro Function
hi! link @parameter DraculaOrangeItalic hi! link @parameter DraculaOrangeItalic
hi! link @parameter.reference DraculaOrange hi! link @parameter.reference DraculaOrange
hi! link @field DraculaOrange hi! link @field DraculaOrange
hi! link @property Normal
hi! link @constructor DraculaCyan hi! link @constructor DraculaCyan
" # Keywords " # Keywords
hi! link @label DraculaPurpleItalic hi! link @label DraculaPurpleItalic
hi! link @keyword.function DraculaCyan
hi! link @keyword.operator Operator
hi! link @exception DraculaPurple
" # Variable " # Variable
hi! link @variable Normal
hi! link @variable.builtin DraculaPurpleItalic hi! link @variable.builtin DraculaPurpleItalic
" # Text " # Text
hi! link @text Normal
hi! link @text.strong DraculaFgBold hi! link @text.strong DraculaFgBold
hi! link @text.emphasis DraculaFg hi! link @text.emphasis DraculaFg
hi! link @text.underline Underlined hi! link @text.underline Underlined
hi! link @text.title DraculaYellow hi! link @text.title DraculaYellow
hi! link @text.literal DraculaYellow hi! link @text.literal DraculaYellow
hi! link @text.uri DraculaYellow hi! link @text.uri DraculaYellow
" # Tags
hi! link @tag DraculaCyan
hi! link @tag.delimiter Normal
" HTML and JSX tag attributes. By default, this group is linked to TSProperty, " HTML and JSX tag attributes. By default, this group is linked to TSProperty,
" which in turn links to Identifer (white). " which in turn links to Identifer (white).
hi! link @tag.attribute DraculaGreenItalic hi! link @tag.attribute DraculaGreenItalic