diff options
-rw-r--r-- | README.markdown | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/README.markdown b/README.markdown index 2bc3ca6..9580617 100644 --- a/README.markdown +++ b/README.markdown @@ -100,19 +100,10 @@ Just call or add a keybinding for it. -To run stylish-haskell each time you save a .hs file, add this to your .vimrc: - - augroup stylish-haskell - autocmd! - autocmd BufWritePost *.hs call s:StylishHaskell() - augroup END - - function! s:StylishHaskell() - let cursor_position = getpos('.') - %!stylish-haskell - call setpos('.', cursor_position) - endfunction +There is also the [vim-stylish-haskell] plugin, which runs stylish-haskell +automatically when you save a Haskell file. +[vim-stylish-haskell]: https://github.com/nbouscal/vim-stylish-haskell Emacs integration ----------------- |