annotate vendor/vim-packs/srcery-vim/after/syntax/html.vim @ 727:49538e2aad65 default tip

Add a useful editrc
author nanaya <me@nanaya.net>
date Tue, 24 Sep 2024 16:58:15 +0900
parents 78469331407e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
1 if srcery#helper#ShouldAbort('html')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
2 finish
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
3 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
4
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
5 let s:none = g:srcery#palette.none
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
6 let s:black = g:srcery#palette.black
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
7 let s:bright_white = g:srcery#palette.bright_white
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
8
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
9 let s:bold = g:srcery#palette.bold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
10 let s:italic = g:srcery#palette.italic
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
11 let s:underline = g:srcery#palette.underline
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
12
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
13 " HTML: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
14
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
15
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
16 hi! link htmlTagName SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
17 hi! link htmlTag SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
18 hi! link htmlEndTag SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
19 hi! link htmlArg SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
20
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
21 hi! link htmlScriptTag SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
22 hi! link htmlTagN SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
23 hi! link htmlSpecialTagName SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
24
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
25 hi! link javaScript Normal
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
26
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
27 call srcery#helper#Highlight('htmlLink', s:bright_white, s:none, s:underline)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
28
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
29 hi! link htmlSpecialChar SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
30
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
31 call srcery#helper#Highlight('htmlBold', s:bright_white, g:srcery_bg, s:bold)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
32 call srcery#helper#Highlight('htmlBoldUnderline', s:bright_white, g:srcery_bg, s:bold . s:underline)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
33 call srcery#helper#Highlight('htmlBoldItalic', s:bright_white, g:srcery_bg, s:bold . s:italic)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
34 call srcery#helper#Highlight('htmlBoldUnderlineItalic', s:bright_white, g:srcery_bg, s:bold . s:underline . s:italic)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
35 call srcery#helper#Highlight('htmlUnderline', s:bright_white, g:srcery_bg, s:underline)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
36 call srcery#helper#Highlight('htmlUnderlineItalic', s:bright_white, g:srcery_bg, s:underline . s:italic)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
37 call srcery#helper#Highlight('htmlItalic', s:bright_white, g:srcery_bg, s:italic)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
38
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
39 " }}}