commit f9bff7b609580f368fe90e83f4b029f1f7ec5e94
parent 40aa4c84e52c53012258f50ca99e699ca8ad2006
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 7 Nov 2017 19:41:42 -0800
Set 100 columns for Obj-C and Java
Sets textwidth and cursorcolumn to 100 for Obj-C and Java.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vimrc b/vimrc
@@ -130,7 +130,8 @@ if &t_Co > 2 || has("gui_running")
" Highlight over-length lines
au BufEnter,InsertLeave * set colorcolumn=80
- au BufEnter,InsertLeave *.java set colorcolumn=100
+ au BufEnter,InsertLeave *.java,*.m,*.mm set colorcolumn=100
+ au BufEnter,InsertLeave *.java,*.m,*.mm set textwidth=100
" Highlight trailing space
au BufEnter,InsertLeave *.bzl,*.c,*.cc,*.cs,*.dart,*.h,*.java,*.m,*.mm,*.py,*.s SpaceHi