mirror of
https://github.com/patstockwell/vim-monokai-tasty.git
synced 2025-11-10 10:53:50 -05:00
Add jsx highlighting rules using new plugin
MaxMEllon/vim-jsx-pretty
This commit is contained in:
@@ -287,6 +287,14 @@ hi def link jsHtmlElemAttrs Label
|
||||
hi def link jsHtmlElemFuncs PreProc
|
||||
hi def link jsCssStyles Label
|
||||
|
||||
" JSX highlighting
|
||||
call Highlight("jsxTagName", s:purple, s:none, s:none)
|
||||
call Highlight("jsxComponentName", s:light_blue, s:none, s:none)
|
||||
call Highlight("jsxEqual", s:magenta, s:none, s:none)
|
||||
call Highlight("jsxPunct", s:grey, s:none, s:none)
|
||||
call Highlight("jsxCloseString", s:grey, s:none, s:none)
|
||||
call Highlight("jsxAttrib", s:white, s:none, s:italic)
|
||||
|
||||
" vim
|
||||
call Highlight("vimParenSep", s:white, s:none, s:bold)
|
||||
call Highlight("vimOperParen", s:light_blue, s:none, s:italic)
|
||||
|
||||
Reference in New Issue
Block a user