shithub: mc

Download patch

ref: 061c7f286ebf2ee6e0afb0a0fb2b90397b848e23
parent: 1adef91a41d208f395953fec4c335d1580c0814b
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Feb 6 14:57:45 EST 2016

Recognize '//' comments.

	They're supported now.

--- a/support/vim/syntax/myr.vim
+++ b/support/vim/syntax/myr.vim
@@ -7,6 +7,7 @@
 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