Skip to content

Commit

Permalink
add back plug-in specifics
Browse files Browse the repository at this point in the history
  • Loading branch information
Konfekt authored Apr 9, 2024
1 parent 95f799f commit 7a7951b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions syntax/pandoc.vim
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
scriptencoding utf-8
"

" Vim syntax file
" Language: Pandoc (superset of Markdown)
" Maintainer: Felipe Morales <[email protected]>
" Maintainer: Caleb Maclennan <[email protected]>
" Upstream: https://github.com/vim-pandoc/vim-pandoc-syntax
"
" Contributor: David Sanson <[email protected]>
" Jorge Israel Peña <[email protected]>
" Christian Brabandt @chrisbra
" Jorge Israel Peña <[email protected]>
" Christian Brabandt @chrisbra
" Original Author: Jeremy Schultz <[email protected]>
" Version: 5.0
" Last Change: 2024 Apr 08
Expand Down Expand Up @@ -223,6 +223,16 @@ command! -buffer -nargs=1 -complete=syntax PandocUnhighlight call DisableEmbedsf
" BASE:
syntax clear
syntax spell toplevel

" apply extra settings: {{{1
if g:pandoc#syntax#colorcolumn == 1
exe 'setlocal colorcolumn='.string(&textwidth+5)
elseif g:pandoc#syntax#colorcolumn == 2
exe 'setlocal colorcolumn='.join(range(&textwidth+5, 2*&columns), ',')
endif
if g:pandoc#syntax#conceal#use != 0
setlocal conceallevel=2
endif
" }}}1

" Syntax Rules: {{{1
Expand Down

0 comments on commit 7a7951b

Please sign in to comment.