Clear colorcolumn in vim-plug buffer (#779)
This commit is contained in:
parent
e0ca037a4f
commit
0a255ee62d
1 changed files with 3 additions and 0 deletions
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()
|
||||
|
|
Loading…
Reference in a new issue