aboutsummaryrefslogtreecommitdiff
path: root/after/syntax/markdown.vim
blob: e012ee4b07f774b2d2ae8b90a2096dd36d99c64a (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 "\[\ \]" conceal cchar=󰄱
syntax match markdownConceal "\[x\]"  conceal cchar=󰰰
syntax match markdownConceal "\[v\]"  conceal cchar=󰄵
syntax match markdownConceal "*"      conceal cchar=syntax match markdownConceal "-"      conceal cchar=syntax match markdownConceal "+"      conceal cchar=syntax region 
       \ markdownItemization
       \ start="^\s*\(\[ \]\|[\+\-\*x]\)\s"
       \ end="\s"
       \ contains=markdownConceal


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