summaryrefslogtreecommitdiff
path: root/.vim/ftplugin/haskell.vim
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-12-16 20:24:26 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-12-16 20:34:13 +0100
commitae306613d059bbf306ccc414edfd49c8f2a0307f (patch)
treec74a8f39f321acad33f4fe88fb4829bd06eee969 /.vim/ftplugin/haskell.vim
parent65d2d6655ab9b6e991412aa0681735ea46419fa2 (diff)
downloaddotfiles-ae306613d059bbf306ccc414edfd49c8f2a0307f.tar.gz
dotfiles-ae306613d059bbf306ccc414edfd49c8f2a0307f.tar.bz2
dotfiles-ae306613d059bbf306ccc414edfd49c8f2a0307f.zip
Haskell stuff for Vim
Diffstat (limited to '')
-rw-r--r--.vim/ftplugin/haskell.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/.vim/ftplugin/haskell.vim b/.vim/ftplugin/haskell.vim
new file mode 100644
index 0000000..968741e
--- /dev/null
+++ b/.vim/ftplugin/haskell.vim
@@ -0,0 +1,14 @@
+"
+" general Haskell source settings
+" (shared functions are in autoload/haskellmode.vim)
+"
+" (Claus Reinke, last modified: 28/04/2009)
+"
+" part of haskell plugins: http://projects.haskell.org/haskellmode-vim
+" please send patches to <claus.reinke@talk21.com>
+
+" try gf on import line, or ctrl-x ctrl-i, or [I, [i, ..
+setlocal include=^import\\s*\\(qualified\\)\\?\\s*
+setlocal includeexpr=substitute(v:fname,'\\.','/','g').'.'
+setlocal suffixesadd=hs,lhs,hsc
+