mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-06 17:14:26 +08:00
Clear colorcolumn in vim-plug buffer (#779)
This commit is contained in:
committed by
Junegunn Choi
parent
e0ca037a4f
commit
0a255ee62d
3
plug.vim
3
plug.vim
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user