~kota/wiki-ft.vim

a3de54bb4dfd518f3fafb26ee1f3eafa57df52df — Daniel Ashbrook 10 months ago bf670c1
Simplify & improve bold+italic

Works for *bold _italic_  more bold* etc
1 files changed, 4 insertions(+), 4 deletions(-)

M syntax/wiki.vim
M syntax/wiki.vim => syntax/wiki.vim +4 -4
@@ 246,11 246,11 @@ execute 'syntax match wikiItalicT'
syntax match wikiConcealItalic /_/ contained conceal

execute 'syntax match wikiBoldItalic'
      \ '/' . wiki#rx#bolditalic . '/'
      \ 'contains=wikiConcealBold,wikiConcealItalic,@Spell'
      \ '/' . wiki#rx#italic . '/'
      \ 'contains=wikiConcealBold,wikiConcealItalic,@Spell contained'
execute 'syntax match wikiItalicBold'
      \ '/' . wiki#rx#italicbold . '/'
      \ 'contains=wikiConcealBold,wikiConcealItalic,@Spell'
      \ '/' . wiki#rx#bold . '/'
      \ 'contains=wikiConcealBold,wikiConcealItalic,@Spell contained'

highlight default wikiBold cterm=bold gui=bold
highlight default wikiItalic cterm=italic gui=italic