summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-01-30 14:59:08 -0800
committerOri Bernstein <ori@markovcorp.com>2017-01-30 14:59:28 -0800
commit66b1e40eecc96889861a43759c88764dcd940e20 (patch)
treec5753dd670520f91d75a1929e7a22e29433ae3da /support
parentefef5c18f16cbff92400e6198ddb666b640a6adc (diff)
downloadmc-66b1e40eecc96889861a43759c88764dcd940e20.tar.gz
Don't capture characters around {}.
Diffstat (limited to 'support')
-rw-r--r--support/vim/syntax/myr.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/vim/syntax/myr.vim b/support/vim/syntax/myr.vim
index 763f693..1be4e2a 100644
--- a/support/vim/syntax/myr.vim
+++ b/support/vim/syntax/myr.vim
@@ -9,7 +9,7 @@ endif
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