Mercurial > ec-dotfiles
comparison vendor/vim-packs/srcery-vim/after/syntax/html.vim @ 704:1e0f578f6752
Update vendor and add support for vim packs
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 18 Dec 2022 20:06:46 +0900 |
parents | |
children | 78469331407e |
comparison
equal
deleted
inserted
replaced
703:b7cd7465cc26 | 704:1e0f578f6752 |
---|---|
1 if srcery#helper#ShouldAbort('html') | |
2 finish | |
3 endif | |
4 | |
5 let s:none = g:srcery#palette.none | |
6 let s:black = g:srcery#palette.black | |
7 let s:bright_white = g:srcery#palette.bright_white | |
8 | |
9 let s:bold = g:srcery#palette.bold | |
10 let s:italic = g:srcery#palette.italic | |
11 let s:underline = g:srcery#palette.underline | |
12 | |
13 " HTML: {{{ | |
14 | |
15 | |
16 hi! link htmlTagName SrceryBlue | |
17 hi! link htmlTag SrceryBrightBlack | |
18 hi! link htmlEndTag SrceryBrightBlack | |
19 hi! link htmlArg SrceryYellow | |
20 | |
21 hi! link htmlScriptTag SrceryRed | |
22 hi! link htmlTagN SrceryBlue | |
23 hi! link htmlSpecialTagName SrceryBlue | |
24 | |
25 call srcery#helper#Highlight('htmlLink', s:bright_white, s:none, s:underline) | |
26 | |
27 hi! link htmlSpecialChar SrceryYellow | |
28 | |
29 if g:srcery_bg_passthrough == 1 && !has('gui_running') | |
30 call srcery#helper#Highlight('htmlBold', s:bright_white, s:none, s:bold) | |
31 call srcery#helper#Highlight('htmlBoldUnderline', s:bright_white, s:none, s:bold . s:underline) | |
32 call srcery#helper#Highlight('htmlBoldItalic', s:bright_white, s:none, s:bold . s:italic) | |
33 call srcery#helper#Highlight('htmlBoldUnderlineItalic', s:bright_white, s:none, s:bold . s:underline . s:italic) | |
34 call srcery#helper#Highlight('htmlUnderline', s:bright_white, s:none, s:underline) | |
35 call srcery#helper#Highlight('htmlUnderlineItalic', s:bright_white, s:none, s:underline . s:italic) | |
36 call srcery#helper#Highlight('htmlItalic', s:bright_white, s:none, s:italic) | |
37 else | |
38 call srcery#helper#Highlight('htmlBold', s:bright_white, s:black, s:bold) | |
39 call srcery#helper#Highlight('htmlBoldUnderline', s:bright_white, s:black, s:bold . s:underline) | |
40 call srcery#helper#Highlight('htmlBoldItalic', s:bright_white, s:black, s:bold . s:italic) | |
41 call srcery#helper#Highlight('htmlBoldUnderlineItalic', s:bright_white, s:black, s:bold . s:underline . s:italic) | |
42 call srcery#helper#Highlight('htmlUnderline', s:bright_white, s:black, s:underline) | |
43 call srcery#helper#Highlight('htmlUnderlineItalic', s:bright_white, s:black, s:underline . s:italic) | |
44 call srcery#helper#Highlight('htmlItalic', s:bright_white, s:black, s:italic) | |
45 endif | |
46 | |
47 " }}} |