From dd1aa8918685c9ada115539f69c5ed4bd456305d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 27 Aug 2020 17:48:47 +0200 Subject: [PATCH] [FIX][VIM] Reduce indentation for pandoc files --- vim/.vim/after/ftplugin/pandoc.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim/.vim/after/ftplugin/pandoc.vim b/vim/.vim/after/ftplugin/pandoc.vim index d9b639a..b1c7bf5 100644 --- a/vim/.vim/after/ftplugin/pandoc.vim +++ b/vim/.vim/after/ftplugin/pandoc.vim @@ -4,3 +4,7 @@ call ftplugined#check_undo_ft() " Let ALE know that I want Markdown linters let b:ale_linter_aliases=[ 'markdown' ] let b:undo_ftplugin.='|unlet! b:ale_linter_aliases' + +" Use a small indentation value on Pandoc files +setlocal shiftwidth=2 +let b:undo_ftplugin.='|setlocal shiftwidth<'