diff options
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 11 |
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. |