Open aiya000 opened 5 years ago
Not averse to this. My only question is if --test
is sufficient, which already runs after a compile finishes?
Other question is whether this should be a command line (like you have), or a GHC command, which could of course be :!notify-send
, but could equally be something else.
My only question is if --test is sufficient, which already runs after a compile finishes?
Sorry if my opinion is wrong :pray:
I think --test='print 10'
execute it only if no warnings and no errors occured.
I want to execute it if some warning and some error occured :)
Other question is whether this should be a command line (like you have), or a GHC command, which could of course be :!notify-send, but could equally be something else.
Well..!
I just need to run Haskell expressions, like --test
.
I don't want to run shell commands :+1:
OK, I see the difference. Another alternative would be to allow the test to run even when there are errors. There is already a flag --warnings
that makes it run even in the presence of warnings, so having one for errors doesn't sound unreasonable.
! Indeed, I think that idea is best!
Like -E
and --errors
?
I wouldn't bother with a single letter alias (doesn't seem common enough) so just --errors
Sorry, I lost a time to make this... But I want this feature, wait please ...!
If you hate to remain this as an issue, I make this as a WIP PR. Please tell me :)
Hi, I'm a ghcid user, thanks :smiley:
I'm planning to make PR for below
--wait
. Can I implement this?My thinking
--wait
is a command specification, the command is executed after a compile finished (after--verbose
's%WAIT
shew).e.g.
I want to this
--wait
, because I have an issue (https://github.com/aiya000/vim-ghcid-quickfix/pull/15). That issue needs to--wait
to fix :joy:Thanks!