Clear colorcolumn in vim-plug buffer (#779)

This commit is contained in:
Árni Dagur 2018-08-08 01:52:00 +00:00 committed by Junegunn Choi
parent e0ca037a4f
commit 0a255ee62d

View File

@ -763,6 +763,9 @@ function! s:prepare(...)
execute 'silent! unmap <buffer>' k
endfor
setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline modifiable nospell
if exists('+colorcolumn')
setlocal colorcolumn=
endif
setf vim-plug
if exists('g:syntax_on')
call s:syntax()