diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-01-12 09:42:50 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-01-12 09:42:50 -0700 |
commit | ee8fe1fbeb3e1a9b5488f81d1ff799b158810435 (patch) | |
tree | f81bfd76449b4e6913072f622dd6809568c6a3e0 /README.markdown | |
parent | d607e0eac23654729ba3e262e8a31129e2473b0b (diff) | |
parent | dc526034228e8431731645fcb483386931cae199 (diff) | |
download | stylish-haskell-ee8fe1fbeb3e1a9b5488f81d1ff799b158810435.tar.gz |
Merge tag 'v0.9.2.1'
v0.9.2.1
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown index 88df2b7..a3406c6 100644 --- a/README.markdown +++ b/README.markdown @@ -112,6 +112,16 @@ Or you can define `formatprg` and then use `gq`. +Alternatively, [vim-autoformat] supports stylish-haskell. To have it automatically reformat the files on save, add to your vimrc: + +```vim +autocmd BufWrite *.hs :Autoformat +" Don't automatically indent on save, since vim's autoindent for haskell is buggy +autocmd FileType haskell let b:autoformat_autoindent=0 +``` + +[vim-autoformat]: https://github.com/Chiel92/vim-autoformat + There is also the [vim-stylish-haskell] plugin, which runs stylish-haskell automatically when you save a Haskell file. @@ -137,6 +147,13 @@ Atom integration [ide-haskell]: https://atom.io/packages/ide-haskell [atom-beautify]: Https://atom.io/packages/atom-beautify +Visual Studio Code integration +------------------------------ + +[stylish-haskell-vscode] for VSCode supports `stylish-haskell`. + +[stylish-haskell-vscode]: https://github.com/vigoo/stylish-haskell-vscode + Using with Continuous Integration --------------------------------- |