changes syntax highlight to be abble to put double asterisk

This commit is contained in:
hugogogo
2022-08-14 13:59:40 +02:00
parent 0265187fcc
commit 077661017f
3 changed files with 14 additions and 2 deletions

View File

@@ -171,8 +171,9 @@ au filetype text set cocu=n cole=3
" soient nettoyes par la commande 'hi clear' du fichier
" $VIMRUNTIME/color/default.vim
au filetype text hi AsteriskBold ctermfg=Green cterm=bold
au filetype text syn match Asterisks contained "**" conceal
au filetype text syn match AsteriskBold "\*\*.*\*\*" contains=Asterisks
au filetype text syn match Asterisks contained "\*\*" conceal
au filetype text syn match EscapedAsterisks contained "\\" conceal
au filetype text syn match AsteriskBold "\*\*.*\*\*" contains=Asterisks,EscapedAsterisks
"---------------------------------------------------------------