diff --git a/.vim/after/plugin/vim-pandoc-syntax.vim b/.vim/after/plugin/vim-pandoc-syntax.vim new file mode 100644 index 0000000..0e1ef9a --- /dev/null +++ b/.vim/after/plugin/vim-pandoc-syntax.vim @@ -0,0 +1,15 @@ +let g:pandoc#syntax#conceal#urls=1 +let g:pandoc#syntax#codeblocks#embeds#langs=[ + \ 'python', + \ 'bash', + \ 'javascript', + \ 'typescript', + \ 'html', + \ 'css', + \ 'scss', + \ 'json', + \ 'yaml' + \ ] +let g:pandoc#syntax#style#emphases=0 " Bug workaround +let g:pandoc#syntax#conceal#cchar_overrides = { "atx": " ", "li": "·" } +let g:pandoc#syntax#conceal#blacklist=[] diff --git a/.vim/after/plugin/vim-pandoc.vim b/.vim/after/plugin/vim-pandoc.vim new file mode 100644 index 0000000..ac72619 --- /dev/null +++ b/.vim/after/plugin/vim-pandoc.vim @@ -0,0 +1,7 @@ +au FileType pandoc call pandoc#completion#Init() +let g:pandoc#filetypes#pandoc_markdown=0 +let g:pandoc#spell#enabled=0 +let g:pandoc#spell#default_langs=['en_us', 'nl_be'] +let g:pandoc#formatting#mode='a' +let g:pandoc#formatting#textwidth=90 +let g:pandoc#modules#disabled = ["formatting", "dashes", "yaml", "metadata"] diff --git a/.vimrc b/.vimrc index add6930..73dbd5b 100644 --- a/.vimrc +++ b/.vimrc @@ -169,21 +169,6 @@ let g:fzf_action = { \ 'ctrl-v': 'vsplit' \} -" `vim-pandoc/vim-pandoc` {{{ -" `vim-pandoc/vim-pandoc-syntax` - -au FileType pandoc call pandoc#completion#Init() -let g:pandoc#filetypes#pandoc_markdown=0 -let g:pandoc#spell#enabled=0 -let g:pandoc#spell#default_langs=['en_us', 'nl_be'] -let g:pandoc#formatting#mode='a' -let g:pandoc#formatting#textwidth=90 -let g:pandoc#modules#disabled = ["formatting", "dashes", "yaml", "metadata"] - -let g:pandoc#syntax#conceal#urls=1 -let g:pandoc#syntax#conceal#blacklist=[] -let g:pandoc#syntax#style#emphases=0 " Bug workaround -let g:pandoc#syntax#conceal#cchar_overrides = { "atx": " ", "li": "·" } " Insert path completion " ino fzf#vim#complete#path('ag -l -g *.md') " ino (fzf-complete-file-ag)