fixes to css, sh, and tex syntaxes + adjust SpecialKey for nvim
This commit is contained in:
parent
fa16b1f1e0
commit
72a0d0d584
4 changed files with 31 additions and 3 deletions
|
@ -10,6 +10,5 @@ hi! link cssFunctionComma Delimiter
|
|||
hi! link cssNoise DraculaPink
|
||||
hi! link cssProp DraculaCyan
|
||||
hi! link cssPseudoClassId DraculaGreenItalic
|
||||
hi! link cssSelectorOp Delimiter
|
||||
hi! link cssUnitDecorators DraculaPink
|
||||
hi! link cssVendor DraculaGreenItalic
|
||||
|
|
5
after/syntax/sh.vim
Normal file
5
after/syntax/sh.vim
Normal file
|
@ -0,0 +1,5 @@
|
|||
if dracula#should_abort('bash', 'ksh', 'posix', 'sh')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link shCommandSub NONE
|
18
after/syntax/tex.vim
Normal file
18
after/syntax/tex.vim
Normal file
|
@ -0,0 +1,18 @@
|
|||
if dracula#should_abort('tex')
|
||||
finish
|
||||
endif
|
||||
|
||||
hi! link texBeginEndName DraculaOrangeItalic
|
||||
hi! link texBoldItalStyle DraculaOrangeBoldItalic
|
||||
hi! link texBoldStyle DraculaOrangeBold
|
||||
hi! link texInputFile DraculaOrangeItalic
|
||||
hi! link texItalStyle DraculaYellowItalic
|
||||
hi! link texLigature DraculaPurple
|
||||
hi! link texMath DraculaPurple
|
||||
hi! link texMathMatcher DraculaPurple
|
||||
hi! link texMathSymbol DraculaPurple
|
||||
hi! link texRefZone DraculaBgDarker
|
||||
hi! link texSpecialChar DraculaPurple
|
||||
hi! link texSubscripts DraculaPurple
|
||||
hi! link texTitle DraculaFgBold
|
||||
hi! link texTypeStyle DraculaSubtle
|
|
@ -1,4 +1,4 @@
|
|||
" Dracula Theme: v1.5.0 {{{
|
||||
" Dracula Theme: {{{
|
||||
"
|
||||
" https://github.com/zenorocha/dracula-theme
|
||||
"
|
||||
|
@ -279,6 +279,13 @@ hi! link WarningMsg DraculaOrangeInverse
|
|||
call s:h('MatchParen', s:fg, s:pink, [s:attrs.underline])
|
||||
call s:h('Conceal', s:comment, s:bglight)
|
||||
|
||||
" Neovim uses SpecialKey for escape characters only. Vim uses it for that, plus whitespace.
|
||||
if has('nvim')
|
||||
hi! link SpecialKey DraculaRed
|
||||
else
|
||||
hi! link SpecialKey DraculaSubtle
|
||||
endif
|
||||
|
||||
hi! link Comment DraculaComment
|
||||
hi! link Underlined DraculaFgUnderline
|
||||
hi! link Todo DraculaTodo
|
||||
|
@ -321,7 +328,6 @@ hi! link Type DraculaCyanItalic
|
|||
hi! link Delimiter DraculaFg
|
||||
|
||||
hi! link Special DraculaPink
|
||||
hi! link SpecialKey DraculaSubtle
|
||||
hi! link SpecialComment DraculaCyanItalic
|
||||
hi! link Tag DraculaCyan
|
||||
hi! link helpHyperTextJump DraculaLink
|
||||
|
|
Loading…
Reference in a new issue