From 7bc7a4ccc824feda07fb7004b3a0047cb8bf7d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81rni=20Dagur?= Date: Fri, 3 Aug 2018 15:53:26 +0000 Subject: [PATCH] Fix bug where colorcolumn is not unset --- plug.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plug.vim b/plug.vim index 52c6b2a..5d2b00e 100644 --- a/plug.vim +++ b/plug.vim @@ -763,6 +763,9 @@ function! s:prepare(...) execute 'silent! unmap ' 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()