We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d034a6a commit 6ef7676Copy full SHA for 6ef7676
syntax/pandoc.vim
@@ -108,6 +108,10 @@ endif
108
if !exists("g:pandoc#syntax#protect#codeblocks")
109
let g:pandoc#syntax#protect#codeblocks = 1
110
endif
111
+" use color column? {{{2
112
+if !exists("g:pandoc#syntax#colorcolumn")
113
+ let g:pandoc#syntax#colorcolumn = 0
114
+endif
115
" }}}2
116
" }}}
117
@@ -573,3 +577,7 @@ let b:current_syntax = "pandoc"
573
577
574
578
syntax sync clear
575
579
syntax sync minlines=100
580
+
581
+if g:pandoc#syntax#colorcolumn == 1
582
+ exe "setlocal colorcolumn=".string(&textwidth+5)
583
0 commit comments