aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/haskell.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/after/ftplugin/haskell.vim')
-rw-r--r--vim/.vim/after/ftplugin/haskell.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/.vim/after/ftplugin/haskell.vim b/vim/.vim/after/ftplugin/haskell.vim
new file mode 100644
index 0000000..109cd5b
--- /dev/null
+++ b/vim/.vim/after/ftplugin/haskell.vim
@@ -0,0 +1,6 @@
+" Tab specific option
+set tabstop=8 "A tab is 8 spaces
+set expandtab "Always uses spaces instead of tabs
+set softtabstop=4 "Insert 4 spaces when tab is pressed
+set shiftwidth=4 "An indent is 4 spaces
+set shiftround "Round indent to nearest shiftwidth multiple