dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit bfc5a13fd8fc44a8fda8375ab6d8c504f14ed3c7
parent a03621dfca5b63e8c85bedbab4afb4e89b3c5436
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:
M.vim/vimrc | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.vim/vimrc b/.vim/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