about summary refs log tree commit diff stats
path: root/vimrc.vim
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-17 22:52:41 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-17 22:52:41 -0700
commitb3cdcdd44f6b8db053e4814351fbf04fefb7d7cf (patch)
tree0ef92b44debd8bc5fc6b5279975ce88bd6e33212 /vimrc.vim
parent12169df8bf28e580af5807e18188b41fefc2eb9b (diff)
downloadmu-b3cdcdd44f6b8db053e4814351fbf04fefb7d7cf.tar.gz
1093 - little more vim support for the old arc version
Diffstat (limited to 'vimrc.vim')
-rw-r--r--vimrc.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/vimrc.vim b/vimrc.vim
index 82fb587b..30e72105 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -1 +1,9 @@
 syntax sync minlines=999
+
+function! HighlightMuInArc()
+  set ft=mu
+  syntax keyword muHack begin | highlight link muHack CommentedCode
+  syntax match muHack "[()]" | highlight link muHack CommentedCode
+endfunction
+call HighlightMuInArc()
+autocmd BufRead,BufNewFile *.mu call HighlightMuInArc()