Skip to content

Commit 9f7fbf1

Browse files
committed
Add raw syntax region.
1 parent 5e458ab commit 9f7fbf1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

syntax/wikidot.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ syntax match wikidotTable '||\~\?'
2222
syntax match wikidotSeparator '-\{4,}'
2323
syntax match wikidotColor '##\(#\?\w\+|\)\?'
2424

25+
syntax region wikidotRaw matchgroup=wikidotRaw start='@@' end='@@' oneline
26+
2527
syntax region wikidotBold matchgroup=wikidotBold start='\*\*' end='\*\*' oneline
2628
syntax region wikidotItalic matchgroup=wikidotItalic start='//' end='//' oneline
2729
syntax region wikidotUnderline matchgroup=wikidotUnderline start='__' end='__' oneline
@@ -50,6 +52,8 @@ highlight default link wikidotTable Statement
5052
highlight default link wikidotSeparator PreProc
5153
highlight default link wikidotColor Statement
5254

55+
highlight default link wikidotRaw PreProc
56+
5357
highlight default link wikidotBold Bold
5458
highlight default link wikidotItalic Italic
5559
highlight default link wikidotUnderline Underline

0 commit comments

Comments
 (0)