aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/config/format.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/config/format.vim b/vim/config/format.vim
index 61222164..477ad6d2 100644
--- a/vim/config/format.vim
+++ b/vim/config/format.vim
@@ -29,7 +29,8 @@ if has('eval')
" Figure out if we have the 'a' flag for 'formatoptions', to reapply
" 'textwidth' wrapping to the current paragraph on every insertion or
" deletion; keep in a script variable
- let s:formatoptions_has_a = v:version > 700
+ let s:formatoptions_has_a = v:version > 610
+ \ || v:version ==# 610 && has('patch142')
" 'c' and 't' have both been around since at least 6.1
nnoremap <silent>