about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-01-13 22:56:49 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-01-13 22:59:07 -0800
commit7fefb8fdb51149e2a7b3b7053b38ed1b7501dfec (patch)
tree243ffeeace06984e71e260f1480cbbd46302cf73
parentb49eab11d8c6b427229b51b2e32e364e691c46b1 (diff)
downloadmu-7fefb8fdb51149e2a7b3b7053b38ed1b7501dfec.tar.gz
561 - vim hack
-rw-r--r--mu.vim11
1 files changed, 7 insertions, 4 deletions
diff --git a/mu.vim b/mu.vim
index 8fd9e416..a51386e9 100644
--- a/mu.vim
+++ b/mu.vim
@@ -10,10 +10,13 @@
 let s:save_cpo = &cpo
 set cpo&vim
 
-if exists("b:syntax")
-  finish
-endif
-let b:syntax = "mu"
+" todo: why does this periodically lose syntax, like on file reload?
+"   $ vim x.mu
+"   :e
+"? if exists("b:syntax")
+"?   finish
+"? endif
+"? let b:syntax = "mu"
 
 setlocal iskeyword=@,48-57,?,!,_,$,-