From c7c03a0185ac4598331bf88eea1ccd0bc62b87d5 Mon Sep 17 00:00:00 2001 From: René Neumann Date: Fri, 9 Dec 2011 16:29:52 +0100 Subject: Update haskellmode --- .vim/doc/haskellmode.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to '.vim/doc') diff --git a/.vim/doc/haskellmode.txt b/.vim/doc/haskellmode.txt index 905349c..27c224d 100644 --- a/.vim/doc/haskellmode.txt +++ b/.vim/doc/haskellmode.txt @@ -1,4 +1,4 @@ -*haskellmode.txt* Haskell Mode Plugins 23/04/2009 +*haskellmode.txt* Haskell Mode Plugins 02/05/2009 Authors: Claus Reinke ~ @@ -242,8 +242,17 @@ CONTENTS *haskellmode* show the errors otherwise. *:GHCStaticOptions* -:GHCStaticOptions Edit the static GHC options for the current buffer. - Useful for adding hidden packages (-package ghc). +:GHCStaticOptions Edit the static GHC options (more generally, options + that cannot be set by in-file OPTIONS_GHC pragmas) + for the current buffer. Useful for adding hidden + packages (-package ghc), or additional import paths + (-isrc; you will then also want to augment |path|). + If you have static options you want to set as + defaults, you could use b:ghc_staticoptions, eg: +> + au FileType haskell let b:ghc_staticoptions = '-isrc' + au FileType haskell setlocal path += src +< *:GHCi* :GHCi {command/expr} Run GHCi commands/expressions in the current module. -- cgit v1.2.3-70-g09d2