From 295670f792dad98ea2342a239a66d204ec338270 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 6 Apr 2020 19:46:28 +0200 Subject: [PATCH] [ADD][VIM] Color column 100 in Haskell files --- vim/.vim/after/ftplugin/haskell.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim/.vim/after/ftplugin/haskell.vim b/vim/.vim/after/ftplugin/haskell.vim index 89307b7..80d7f2e 100644 --- a/vim/.vim/after/ftplugin/haskell.vim +++ b/vim/.vim/after/ftplugin/haskell.vim @@ -24,3 +24,7 @@ let b:undo_ftplugin.='|unlet! b:ale_haskell_ghc_options' " Automatically format files when saving them let b:ale_fix_on_save=1 let b:undo_ftplugin='|unlet! b:ale_lint_on_save' + +" Change max length of a line to 100 for this buffer to match official guidelines +setlocal colorcolumn=100 +let b:undo_ftplugin.='|setlocal colorcolumn<'