summaryrefslogtreecommitdiff
path: root/.vim/doc
diff options
context:
space:
mode:
authorRené Neumann <rene.neumann@in.tum.de>2011-12-09 16:29:52 +0100
committerRené Neumann <rene.neumann@in.tum.de>2011-12-09 16:29:53 +0100
commitc7c03a0185ac4598331bf88eea1ccd0bc62b87d5 (patch)
treece242ecdf6ddf486bb30c586b3fba7ac40f2f688 /.vim/doc
parentb4a2b04706d0b86bcd9fd47c77a2c579805196a0 (diff)
downloaddotfiles-c7c03a0185ac4598331bf88eea1ccd0bc62b87d5.tar.gz
dotfiles-c7c03a0185ac4598331bf88eea1ccd0bc62b87d5.tar.bz2
dotfiles-c7c03a0185ac4598331bf88eea1ccd0bc62b87d5.zip
Update haskellmode
Diffstat (limited to '.vim/doc')
-rw-r--r--.vim/doc/haskellmode.txt15
1 files changed, 12 insertions, 3 deletions
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 <claus.reinke@talk21.com> ~
@@ -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.