misc/vim/syntax/factor.vim: add 'display' argument to factorEscape highlight group

db4
Keita Haga 2011-03-21 06:52:10 +09:00
parent d1b126f15b
commit f77bb07525
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ syn cluster factorWordOps contains=factorConstant,factorAlias,factorSingle
" LIBRARY:
"#\ "
syn match factorEscape /\\\([\\stnr0e\"]\|u\x\{6\}\|u{\S\+}\)/ contained
syn match factorEscape /\\\([\\stnr0e\"]\|u\x\{6}\|u{\S\+}\)/ contained display
syn region factorString start=/\<"/ skip=/\\"/ end=/"/ contains=factorEscape
syn region factorTriString start=/\<"""/ skip=/\\"/ end=/"""/ contains=factorEscape
syn region factorSbuf start=/\<[-a-zA-Z0-9]\+"\>/ skip=/\\"/ end=/"/

View File

@ -137,7 +137,7 @@ syn cluster factorWordOps contains=factorConstant,factorAlias,factorSingle
" LIBRARY:
"#\ "
syn match factorEscape /\\\([\\stnr0e\"]\|u\x\{6\}\|u{\S\+}\)/ contained
syn match factorEscape /\\\([\\stnr0e\"]\|u\x\{6}\|u{\S\+}\)/ contained display
syn region factorString start=/\<"/ skip=/\\"/ end=/"/ contains=factorEscape
syn region factorTriString start=/\<"""/ skip=/\\"/ end=/"""/ contains=factorEscape
syn region factorSbuf start=/\<[-a-zA-Z0-9]\+"\>/ skip=/\\"/ end=/"/