We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Put the below in your ~/.vimrc. When you write *.hs buffer to a file, both check and lint are run.
~/.vimrc
*.hs
autocmd BufWritePost *.hs call s:check_and_lint() function! s:check_and_lint() let l:qflist = ghcmod#make('check') call extend(l:qflist, ghcmod#make('lint')) lcd `=expand('%:p:h')` call setqflist(l:qflist) lcd - cwindow endfunction