File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ function! criticmarkup#Init()
4
4
endfunction
5
5
6
6
function ! criticmarkup#InjectHighlighting ()
7
- syn region criticAddition matchgroup =criticAdd start =/ {++/ end =/ ++}/ concealends
8
- syn region criticDeletion matchgroup =criticDel start =/ {--/ end =/ --}/ concealends
9
- syn region criticSubstitutionDeletion start =/ {\~\~ / end =/ .\(\~ >\)\@ =/ keepend
10
- syn region criticSubstitutionAddition start =/ \~ >/ end =/ \~\~ }/ keepend
7
+ syn region criticAddition matchgroup =criticAdd start =/ {++/ end =/ ++}/ containedin = pandocDefinitionBlock concealends
8
+ syn region criticDeletion matchgroup =criticDel start =/ {--/ end =/ --}/ containedin = pandocDefinitionBlock concealends
9
+ syn region criticSubstitutionDeletion start =/ {\~\~ / end =/ .\(\~ >\)\@ =/ containedin = pandocDefinitionBlock keepend
10
+ syn region criticSubstitutionAddition start =/ \~ >/ end =/ \~\~ }/ containedin = pandocDefinitionBlock keepend
11
11
syn match criticSubstitutionDeletionMark / {\~\~ / contained containedin =criticSubstitutionDeletion conceal
12
12
syn match criticSubstitutionAdditionMark / \~\~ }/ contained containedin =criticSubstitutionAddition conceal
13
- syn region criticComment matchgroup =criticMeta start =/ {>>/ end =/ <<}/ concealends
14
- syn region criticHighlight matchgroup =criticHighlighter start =/ {==/ end =/ ==}/ concealends
13
+ syn region criticComment matchgroup =criticMeta start =/ {>>/ end =/ <<}/ containedin = pandocDefinitionBlock concealends
14
+ syn region criticHighlight matchgroup =criticHighlighter start =/ {==/ end =/ ==}/ containedin = pandocDefinitionBlock concealends
15
15
16
16
hi criticAdd guibg= #00 ff00 guifg= #101010
17
17
hi criticDel guibg= #ff0000 guifg= #ffffff
You can’t perform that action at this time.
0 commit comments