Skip to content

Commit 44f90ab

Browse files
committed
show colorcolumn when file type is .py
1 parent 070dba4 commit 44f90ab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

vimrc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,20 @@ set complete-=i
156156
" Vim UI "
157157
"""""""""""""""""""""""""""""""""""""""""""""
158158
syntax on
159-
let &colorcolumn=80
160159

161-
set list listchars=tab:>-
162160
au BufNewFile,BufRead *
163161
\ set tabstop=4 |
164162
\ set softtabstop=4 |
165163
\ set shiftwidth=4 |
166164
\ set expandtab |
167165
\ set autoindent |
168-
\ set fileformat=unix
166+
\ set fileformat=unix |
167+
\ set list listchars=tab:>-
168+
169169
au BufNewFile,BufRead *.py
170+
\ set colorcolumn=80 |
170171
\ set textwidth=79
172+
171173
au BufNewFile,BufRead *.go
172174
\ set nolist
173175

0 commit comments

Comments
 (0)