Skip to content

Commit fdfa34b

Browse files
committed
allow the colorcolumns to expand until far beyond the width of the window
1 parent 540c435 commit fdfa34b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

syntax/pandoc.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,4 +580,6 @@ syntax sync minlines=100
580580

581581
if g:pandoc#syntax#colorcolumn == 1
582582
exe "setlocal colorcolumn=".string(&textwidth+5)
583+
elseif g:pandoc#syntax#colorcolumn == 2
584+
exe "setlocal colorcolumn=".join(range(&textwidth+5, 2*&columns), ',')
583585
endif

0 commit comments

Comments
 (0)