about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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,?,!,_,$,-