nix-config/home/vim/after/ftplugin/markdown.vim
Bruno BELANYI 68b9c3b9b1 home: vim: remove 'vim-pandoc'
The tree-sitter code-block high-lighting is built-in and works better,
and I don't use any of the other features.
2023-05-07 13:04:37 +01:00

11 lines
301 B
VimL

" Create the `b:undo_ftplugin` variable if it doesn't exist
call ftplugined#check_undo_ft()
" Use a small indentation value on Pandoc files
setlocal shiftwidth=2
let b:undo_ftplugin.='|setlocal shiftwidth<'
" Use my usual text width
setlocal textwidth=80
let b:undo_ftplugin.='|setlocal textwidth<'