[ADD][VIM] Haskell filetype configuration
This commit is contained in:
parent
a92c3366af
commit
270bc39397
1 changed files with 6 additions and 0 deletions
6
vim/.vim/after/ftplugin/haskell.vim
Normal file
6
vim/.vim/after/ftplugin/haskell.vim
Normal file
|
|
@ -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<'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue