From 270bc39397c6a836efc7670151e51b579ca45f25 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 6 Apr 2020 18:38:30 +0200 Subject: [PATCH] [ADD][VIM] Haskell filetype configuration --- vim/.vim/after/ftplugin/haskell.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/.vim/after/ftplugin/haskell.vim diff --git a/vim/.vim/after/ftplugin/haskell.vim b/vim/.vim/after/ftplugin/haskell.vim new file mode 100644 index 0000000..39e3811 --- /dev/null +++ b/vim/.vim/after/ftplugin/haskell.vim @@ -0,0 +1,6 @@ +" Create the `b:undo_ftplugin` variable if it doesn't exist +call ftplugined#check_undo_ft() + +" Use a small indentation value on Haskell files +setlocal shiftwidth=2 +let b:undo_ftplugin.='|setlocal shiftwidth<'