summaryrefslogtreecommitdiffhomepage
path: root/README.markdown
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-07-05 08:07:21 +0100
committerSean Whitton <spwhitton@spwhitton.name>2017-07-05 08:07:21 +0100
commitccf99d542eb2149a4037a6483b9d63b5ba0fc191 (patch)
tree1b0ad9676fec43076012c84f1fb73a5fc2606ee0 /README.markdown
parenteb701be3473ecd02f21c24614a4773162024930a (diff)
parent6df99cb50b5292c578d7c96f5753749b9d938b72 (diff)
downloadstylish-haskell-ccf99d542eb2149a4037a6483b9d63b5ba0fc191.tar.gz
Merge tag '0.7.1.0'
0.7.1.0
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 01f20d9..d271b4c 100644
--- a/README.markdown
+++ b/README.markdown
@@ -90,11 +90,18 @@ VIM integration
---------------
Since it works as a filter it is pretty easy to integrate this with VIM.
-Just call
+
+You can call
:%!stylish-haskell
-or add a keybinding for it.
+and add a keybinding for it.
+
+Or you can define `formatprg`
+
+ :set formatprg=stylish-haskell
+
+and then use `gq`.
There is also the [vim-stylish-haskell] plugin, which runs stylish-haskell
automatically when you save a Haskell file.