ref: 66b1e40eecc96889861a43759c88764dcd940e20
parent: efef5c18f16cbff92400e6198ddb666b640a6adc
author: Ori Bernstein <ori@markovcorp.com>
date: Mon Jan 30 09:59:08 EST 2017
Don't capture characters around {}.
--- a/support/vim/syntax/myr.vim
+++ b/support/vim/syntax/myr.vim
@@ -9,7 +9,7 @@
syn region myrComment start=+/\*+ end=+\*/+
syn region myrComment start=+//+ end=+$+
syn match myrSpecial display contained "\\\(x\x\+\|\o\{1,3}\|u{[a-zA-Z0-9_]*}\|.\|$\)"
-syn match myrFormat display "[^{]{[^}]*}[^}]"
+syn match myrFormat display "{[^}]*}"
syn region myrString start=+"+ skip=+\\"+ end=+"+ contains=myrSpecial,myrFormat extend
syn region myrChar start=+'+ skip=+\\'+ end=+'+ contains=myrSpecial,myrFormat extend
syn keyword myrKeyword castto