From 44f90ab84c95fd846f9cbd8d86fc9a3413730b49 Mon Sep 17 00:00:00 2001 From: Legolas Bloom Date: Wed, 15 Feb 2017 01:29:02 +0800 Subject: [PATCH] show colorcolumn when file type is .py --- vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 3c93f3a..9524311 100644 --- a/vimrc +++ b/vimrc @@ -156,18 +156,20 @@ set complete-=i " Vim UI " """"""""""""""""""""""""""""""""""""""""""""" syntax on -let &colorcolumn=80 -set list listchars=tab:>- au BufNewFile,BufRead * \ set tabstop=4 | \ set softtabstop=4 | \ set shiftwidth=4 | \ set expandtab | \ set autoindent | -\ set fileformat=unix +\ set fileformat=unix | +\ set list listchars=tab:>- + au BufNewFile,BufRead *.py +\ set colorcolumn=80 | \ set textwidth=79 + au BufNewFile,BufRead *.go \ set nolist