about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--mu.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/mu.vim b/mu.vim
index 7eb769c0..4f09cd67 100644
--- a/mu.vim
+++ b/mu.vim
@@ -19,7 +19,8 @@ set cpo&vim
 "? let b:syntax = "mu"
 
 setlocal iskeyword=@,48-57,?,!,_,$,-
-setlocal textwidth&  " mu programs have long lines
+setlocal formatoptions-=t  " mu programs have long lines
+setlocal formatoptions+=c  " but comments should still wrap
 
 syntax match muComment /#.*$/ | highlight link muComment Comment
 syntax match muSalientComment /##.*$/ | highlight link muSalientComment SalientComment