diff --git a/init.vim b/init.vim index c7a3fdf..3f12379 100644 --- a/init.vim +++ b/init.vim @@ -99,10 +99,6 @@ set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%) " change cursor style 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 @@ -163,3 +159,8 @@ let g:ctrlp_status_func = {"main": "CtrlPStatusMain", " Pandoc Markdown let g:pandoc#syntax#conceal#use = 0 + +" use pandoc markdown syntax +augroup pandoc_syntax + au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc +augroup END