nix-config/modules/home/vim/after/ftplugin/markdown.vim

11 lines
301 B
VimL
Raw Normal View History

2021-02-23 16:08:46 +01:00
" 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<'