diff --git a/init.vim b/init.vim index 49087e8..58c2102 100644 --- a/init.vim +++ b/init.vim @@ -32,7 +32,7 @@ Plugin 'itchyny/lightline.vim' Plugin 'townk/vim-autoclose' Plugin 'tpope/vim-fugitive' Plugin 'travitch/hasksyn' -Plugin 'plasticboy/vim-markdown' +Plugin 'vim-pandoc/vim-pandoc-syntax' Plugin 'LnL7/vim-nix' Plugin 'kchmck/vim-coffee-script' Plugin 'ngn/vim-apl' @@ -94,6 +94,11 @@ set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%) autocmd VimLeave * set guicursor=a:hor20-blinkon20 +" use pandoc markdown syntax +augroup pandoc_syntax + au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc +augroup END + "" "" Key bindings ""