From f2db42bed423da2dbf7a03da52992aeb34f6f35e Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 28 Apr 2014 11:44:46 +0400 Subject: [PATCH] Vimrc: Vala/Cpp linewidths. --- .vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vimrc b/.vimrc index 025f1f1..4e1836f 100644 --- a/.vimrc +++ b/.vimrc @@ -7,6 +7,7 @@ set tabstop=4 set shiftwidth=4 set textwidth=79 set tw=79 +set colorcolumn=80,120,160 set expandtab set autoindent set copyindent @@ -31,6 +32,9 @@ function! CppIndent() setlocal shiftwidth=4 setlocal tabstop=4 setlocal noexpandtab + set textwidth=119 + set tw=119 + set colorcolumn=120,160 endfunction " Setup for the Sh coding format standard @@ -45,6 +49,9 @@ function! ValaIndent() setlocal shiftwidth=4 setlocal tabstop=4 setlocal noexpandtab + set textwidth=119 + set tw=119 + set colorcolumn=120,160 endfunction au FileType c call GnuIndent()