comparison vendor/vim-packs/srcery-vim/after/syntax/markdown.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('markdown')
2 finish
3 endif
4
5 let s:none = g:srcery#palette.none
6 let s:bright_white = g:srcery#palette.bright_white
7 let s:italic = g:srcery#palette.italic
8 let s:underline = g:srcery#palette.underline
9
10 " Markdown: {{{
11
12 call srcery#helper#Highlight('markdownItalic', s:bright_white, s:none, s:italic)
13
14 hi! link markdownH1 SrceryBrightBlueBold
15 hi! link markdownH2 SrceryBrightBlueBold
16 hi! link markdownH3 SrceryBrightYellowBold
17 hi! link markdownH4 SrceryBrightYellowBold
18 hi! link markdownH5 SrceryYellowBold
19 hi! link markdownH6 SrceryYellowBold
20
21 hi! link markdownCode SrceryWhite
22 hi! link markdownCodeBlock SrceryWhite
23 hi! link markdownCodeDelimiter SrceryWhite
24
25 hi! link markdownBlockquote SrceryBrightBlack
26 hi! link markdownListMarker SrceryBrightBlack
27 hi! link markdownOrderedListMarker SrceryBrightBlack
28 hi! link markdownRule SrceryBrightBlack
29 hi! link markdownHeadingRule SrceryBrightBlack
30
31 hi! link markdownUrlDelimiter SrceryBrightBlack
32 hi! link markdownLinkDelimiter SrceryBrightBlack
33 hi! link markdownLinkTextDelimiter SrceryBrightBlack
34
35 hi! link markdownHeadingDelimiter SrceryBrightBlack
36 hi! link markdownUrl SrceryBrightGreen
37 hi! link markdownUrlTitleDelimiter SrceryGreen
38
39 call srcery#helper#Highlight('markdownLinkText', s:bright_white, s:none, s:underline)
40 hi! link markdownIdDeclaration markdownLinkText
41
42 " }}}