diff options
Diffstat (limited to 'dot_vim/ftplugin/haskell.vim')
-rw-r--r-- | dot_vim/ftplugin/haskell.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dot_vim/ftplugin/haskell.vim b/dot_vim/ftplugin/haskell.vim new file mode 100644 index 0000000..ffe83fe --- /dev/null +++ b/dot_vim/ftplugin/haskell.vim @@ -0,0 +1,13 @@ +" +" general Haskell source settings +" (shared functions are in autoload/haskellmode.vim) +" +" (Claus Reinke, last modified: 21/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, .. +set include=^import\\s*\\(qualified\\)\\?\\s* +set includeexpr=substitute(v:fname,'\\.','/','g').'.hs' + |