Skip to content
This repository was archived by the owner on Dec 28, 2019. It is now read-only.

Disbale colorcolumn #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugin/vimroom.vim
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,15 @@ function! <SID>VimroomToggle()
setlocal noma
setlocal nocursorline
setlocal nonumber
setlocal colorcolumn=0
silent! setlocal norelativenumber
wincmd l
" Create the right sidebar
exec( "silent rightbelow " . s:sidebar . "vsplit new" )
setlocal noma
setlocal nocursorline
setlocal nonumber
setlocal colorcolumn=0
silent! setlocal norelativenumber
wincmd h
endif
Expand All @@ -198,13 +200,15 @@ function! <SID>VimroomToggle()
setlocal noma
setlocal nocursorline
setlocal nonumber
setlocal colorcolumn=0
silent! setlocal norelativenumber
wincmd j
" Create the bottom sidebar
exec( "silent rightbelow " . g:vimroom_sidebar_height . "split new" )
setlocal noma
setlocal nocursorline
setlocal nonumber
setlocal colorcolumn=0
silent! setlocal norelativenumber
wincmd k
endif
Expand Down Expand Up @@ -250,6 +254,8 @@ function! <SID>VimroomToggle()
exec( "hi NonText " . l:highlightfgbgcolor )
exec( "hi StatusLine " . l:highlightfgbgcolor )
exec( "hi StatusLineNC " . l:highlightfgbgcolor )
" disable colored column marker
setlocal colorcolumn=0
set t_mr=""
set fillchars+=vert:\
endif
Expand Down