eagletmt/ghcmod-vim — Issue #2: vi mode: :wq behavior and run both check + lint on each save
Author: LeventErkok
Created: 2012-02-29 18:15:30+00:00
State: open

Great work! I really enjoy using ghc-mod in vi. Two requests for the vi integration, if possible:

* Do not run any checks if :wq is issued, i.e., if the user wants to write-and-quit. It's a waste of time running the checks since they won't be displayed anyhow.

* I think the old behavior upon a ":w" command was to run both check and lint on the haskell file. Looks like the recent changes to the vi-mode altered this behavior and it currently runs just a check upon saving; and it runs lint only when explicitly requested. This behavior sounds OK, but the old behavior of running both check and lint at each save is also quite convenient as well. Maybe this can be configured in the .vimrc file via a flag.