Skip to content

Commit 5e458ab

Browse files
committed
Keep wikidot formatting to a single line.
1 parent a858b7a commit 5e458ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

syntax/wikidot.vim

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

25-
syntax region wikidotBold matchgroup=wikidotBold start='\*\*' end='\*\*'
26-
syntax region wikidotItalic matchgroup=wikidotItalic start='//' end='//'
27-
syntax region wikidotUnderline matchgroup=wikidotUnderline start='__' end='__'
28-
syntax region wikidotBoldUnderline matchgroup=wikidotBoldUnderline start='\(\*\*__\|__\*\*\)' end='\(\*\*__\|__\*\*\)'
29-
syntax region wikidotBoldItalic matchgroup=wikidotBoldItalic start='\(\*\*\/\/\|\/\/\*\*\)' end='\(\*\*\/\/\|\/\/\*\*\)'
25+
syntax region wikidotBold matchgroup=wikidotBold start='\*\*' end='\*\*' oneline
26+
syntax region wikidotItalic matchgroup=wikidotItalic start='//' end='//' oneline
27+
syntax region wikidotUnderline matchgroup=wikidotUnderline start='__' end='__' oneline
28+
syntax region wikidotBoldUnderline matchgroup=wikidotBoldUnderline start='\(\*\*__\|__\*\*\)' end='\(\*\*__\|__\*\*\)' oneline
29+
syntax region wikidotBoldItalic matchgroup=wikidotBoldItalic start='\(\*\*\/\/\|\/\/\*\*\)' end='\(\*\*\/\/\|\/\/\*\*\)' oneline
3030

3131
syntax region wikidotH1 matchgroup=wikidotH1 start='^\s*+' end='$' keepend oneline contains=wikidotComment,wikidotLink,wikidotColor
3232
syntax region wikidotH2 matchgroup=wikidotH2 start='^\s*++' end='$' keepend oneline contains=wikidotComment,wikidotLink,wikidotColor

0 commit comments

Comments
 (0)