]> git.rmz.io Git - dotfiles.git/commitdiff
vim: add pandoc plugin
authorSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:18:58 +0000 (17:18 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:36:20 +0000 (17:36 +0000)
vim/vimrc

index b2e40ae9400880e92bcc8f226570a581717c36ca..bd479a7e36b08063dcef2a22933e5ea16d1d0b2c 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -293,6 +293,23 @@ Plug 'mtth/scratch.vim'  " {{{2
   let g:scratch_autohide = 0
 "}}}
 
+Plug 'vim-pandoc/vim-pandoc'  " {{{2
+Plug 'vim-pandoc/vim-pandoc-syntax'
+let g:pandoc#syntax#conceal#use = 1
+let g:pandoc#syntax#conceal#blacklist = [
+    \ 'titleblock',
+    \ 'codeblock_start',
+    \ 'codeblock_delim',
+    \ 'atx',
+    \ ]
+let g:pandoc#syntax#codeblocks#embeds#langs = [
+    \ 'plantuml',
+    \ ]
+let g:pandoc#keyboard#blacklist_submodule_mappings = [
+    \ 'para',
+    \ ]
+"}}}
+
 " Plug 'jenterkin/vim-autosource'  " TODO: delete? {{{2
 "   let g:autosource_hashdir = $XDG_CACHE_HOME . '/vim/vim-autosource'
 "   let g:autosource_conf_names = ['.vimrc', '.vimrc.lua']