summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-06 19:57:45 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-06 19:57:45 -0800
commit061c7f286ebf2ee6e0afb0a0fb2b90397b848e23 (patch)
tree15cd667280a26c619e371be101ed6b959cb117a6 /support
parent1adef91a41d208f395953fec4c335d1580c0814b (diff)
downloadmc-061c7f286ebf2ee6e0afb0a0fb2b90397b848e23.tar.gz
Recognize '//' comments.
They're supported now.
Diffstat (limited to 'support')
-rw-r--r--support/vim/syntax/myr.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/vim/syntax/myr.vim b/support/vim/syntax/myr.vim
index 4b352e1..a7545b6 100644
--- a/support/vim/syntax/myr.vim
+++ b/support/vim/syntax/myr.vim
@@ -7,6 +7,7 @@ if exists("b:current_syntax")
endif
syn region myrComment start=+/\*+ end=+\*/+
+syn region myrComment start=+//+ end=+$+
syn match myrSpecial display contained "\\\(x\x\+\|\o\{1,3}\|u{.*}\|.\|$\)"
syn match myrFormat display "[^{]{[^}]*}[^}]"
syn region myrString start=+"+ skip=+\\"+ end=+"+ contains=myrSpecial,myrFormat extend