diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2016-08-03 12:27:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-03 12:27:32 +0200 |
commit | d1dc949b51a4f39715276758e87eb446d735ef4c (patch) | |
tree | c1fc218727a4c04685a6ab5ca0b7a8987a73533a | |
parent | ab625813a8ebf69defe83745a71c7c085632ec23 (diff) | |
parent | 1b8f589d0648c6fb19fe827b56d5cad3f71544c6 (diff) | |
download | stylish-haskell-d1dc949b51a4f39715276758e87eb446d735ef4c.tar.gz |
Merge pull request #124 from alx741/master
Add Vim usage method in README
-rw-r--r-- | README.markdown | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index 209f2d7..3cee691 100644 --- a/README.markdown +++ b/README.markdown @@ -102,11 +102,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. |