sdiehl / vim-ormolu

Plugin for formatting Haskell source code
MIT License
39 stars 3 forks source link

ormolu_disable not working #5

Closed denibertovic closed 4 years ago

denibertovic commented 4 years ago

I've added let g:ormolu_disable=1 in my .vimrc but the entire file still gets formatted on each write. I'm not sure if I'm doing something wrong, or if I'm misunderstanding what the above setting does or if this is in fact a bug.

sdiehl commented 4 years ago

Fixed in https://github.com/sdiehl/vim-ormolu/commit/15cd34b217154d3141495a288d9e692fd826c80d.

denibertovic commented 4 years ago

@sdiehl Thanks. I've verified that it works now. However, ToggleOrmolu seems to be broken now.