From: Philippe Hürlimann
Date: Thu, 3 Nov 2016 21:10:13 +0000 (+0100)
Subject: some more Haskell settings
X-Git-Url: https://git.hurlimann.org/?a=commitdiff_plain;h=dd085989b1bad93fb90a409cc3d9b4071c19f953;p=vimfiles.git
some more Haskell settings
---
diff --git a/ftplugin/haskell.vim b/ftplugin/haskell.vim
index e54465f..f6c7099 100644
--- a/ftplugin/haskell.vim
+++ b/ftplugin/haskell.vim
@@ -1,5 +1,16 @@
+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
+
setlocal omnifunc=necoghc#omnifunc
-autocmd BufWritePost *.hs GhcModCheckAndLintAsync
+let g:necoghc_enable_detailed_browse = 1
+
+autocmd BufWritePost *.hs GhcModCheckAsync
nnoremap