File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -124,20 +124,23 @@ Or you can define `formatprg`
124124
125125and then use `gq` .
126126
127- Alternatively , [vim- autoformat] supports stylish- haskell. To have it automatically reformat the files on save, add to your vimrc:
127+ Alternatively , [vim- autoformat] supports stylish- haskell. To have it
128+ automatically reformat the files on save, add to your vimrc:
128129
129130```vim
130131autocmd BufWrite *. hs : Autoformat
131132" Don't automatically indent on save, since vim's autoindent for haskell is buggy
132133autocmd FileType haskell let b:autoformat_autoindent=0
133134```
134135
135- [vim-autoformat]: https://github.com/Chiel92/vim-autoformat
136+ There are also plugins that run stylish-haskell automatically when you save a
137+ Haskell file:
136138
137- There is also the [vim-stylish-haskell] plugin, which runs stylish-haskell
138- automatically when you save a Haskell file.
139+ * [vim-stylish-haskell]
140+ * [vim-stylishask]
139141
140142[vim-stylish-haskell]: https://github.com/nbouscal/vim-stylish-haskell
143+ [vim-stylishask]: https://github.com/alx741/vim-stylishask
141144
142145Emacs integration
143146-----------------
You can’t perform that action at this time.
0 commit comments