From 447a64d456119b2a366b021f8c55aecc8a5a4ff6 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Tue, 6 Feb 2018 12:39:44 +0100 Subject: [PATCH] Expand tabs in haskell. --- vim/.vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 7a09ea5..f3bc22c 100644 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -34,6 +34,7 @@ let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic" autocmd Filetype python setlocal expandtab autocmd Filetype markdown setlocal textwidth=72 expandtab +autocmd Filetype haskell setlocal expandtab " Remove trailing whitespace, always. autocmd BufWritePre * :%s/\s\+$//e