summaryrefslogtreecommitdiff
path: root/support/vim/syntax/myr.vim
diff options
context:
space:
mode:
Diffstat (limited to 'support/vim/syntax/myr.vim')
-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