diff options
Diffstat (limited to 'ftplugin/haskell.vim')
-rw-r--r-- | ftplugin/haskell.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ftplugin/haskell.vim b/ftplugin/haskell.vim new file mode 100644 index 0000000..d393a45 --- /dev/null +++ b/ftplugin/haskell.vim @@ -0,0 +1,16 @@ +" Haskell vim settings + +" Indentation +setlocal expandtab +setlocal tabstop=4 +setlocal softtabstop=4 +setlocal shiftwidth=4 + + +setlocal textwidth=80 + + +" Don't preserve indentation on empty lines +inoremap <buffer> <CR> <CR> +nnoremap <buffer> o o +nnoremap <buffer> O O |