Add version check for neovim
Add compatibility with older neovim to support older version of nvim-treesitter
This commit is contained in:
parent
ed78f2f6b1
commit
84adf19f1d
1 changed files with 46 additions and 44 deletions
|
@ -100,6 +100,7 @@ if exists('g:loaded_nvim_treesitter')
|
|||
" which in turn links to Identifer (white).
|
||||
hi! link TSTagAttribute DraculaGreenItalic
|
||||
|
||||
if has('nvim-0.8')
|
||||
" # Misc
|
||||
hi! link @punctuation.delimiter Delimiter
|
||||
hi! link @punctuation.bracket Normal
|
||||
|
@ -145,6 +146,7 @@ if exists('g:loaded_nvim_treesitter')
|
|||
" which in turn links to Identifer (white).
|
||||
hi! link @tag.attribute DraculaGreenItalic
|
||||
endif
|
||||
endif
|
||||
" }}}
|
||||
" nvim-cmp: {{{
|
||||
" A completion engine plugin for neovim written in Lua.
|
||||
|
|
Loading…
Reference in a new issue