Skip to content

Commit

Permalink
Vimrc: Vala/Cpp linewidths.
Browse files Browse the repository at this point in the history
  • Loading branch information
backbone committed Apr 28, 2014
1 parent 27462c1 commit 439f874
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vimrc
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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()
Expand Down

0 comments on commit 439f874

Please sign in to comment.