about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-20 00:23:01 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-20 00:23:01 -0700
commit0a6d127d3758a1f76ace9dfe7c83772d7089f4c0 (patch)
treeb00b9484091f68649b75adc1dc302e88d60e63ae
parent79bce851d800bcf1ef7fe4f4c88a694b1be0cef9 (diff)
downloadmu-0a6d127d3758a1f76ace9dfe7c83772d7089f4c0.tar.gz
1410
-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