~kota/wiki-ft.vim

5d94624c468c8cf3e1603e05c23f0406c88d2d20 — Daniel Ashbrook 1 year, 1 month ago 538ebef
Add highlighting for bold+italic
1 files changed, 9 insertions(+), 0 deletions(-)

M syntax/wiki.vim
M syntax/wiki.vim => syntax/wiki.vim +9 -0
@@ 243,8 243,17 @@ execute 'syntax match wikiItalicT'
      \ 'contained contains=@Spell'
syntax match wikiConcealItalic /_/ contained conceal

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

highlight default wikiBold cterm=bold gui=bold
highlight default wikiItalic cterm=italic gui=italic
highlight default wikiBoldItalic cterm=italic,bold gui=italic,bold
highlight default link wikiItalicBold wikiBoldItalic

" }}}1
" {{{1 Math