aboutsummaryrefslogtreecommitdiff
path: root/after/syntax/markdown.vim
blob: 7bdbf46ead8c08cfaa291aea6a73f11e8e3daec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" Custom conceal
" syntax region todolist  start="^\s*[\+-\*x ]" end="\s" contained keepend


syntax match markdownConceal "\[\ \]" contained conceal cchar=syntax match markdownConceal "\[x\]"  contained conceal cchar=syntax match markdownConceal "*"      contained conceal cchar=syntax match markdownConceal "-"      contained conceal cchar=syntax match markdownConceal "+"      contained conceal cchar=syntax region 
       \ markdownItemization
       \ start="^\s*\(\[ \]\|[\+\-\*x]\)\s"
       \ end="\s"
       \ contains=markdownConceal


hi def link markdownConceal Todo
hi! link Conceal Text
..