jyp / dante

392 stars 51 forks source link

Disable autosave? #111

Closed voanhduy1512 closed 5 years ago

voanhduy1512 commented 5 years ago

Hi,

Recently I switch from intero to dante because of nix, i enjoy it so far but there is a issue that bother me is dante autosave the file every time i stop typing. I am not sure why that's the case. It makes company stop working and a few other unwanted things (flycheck and stuffs) appear. How can i disable this feature in dante, i saw the readme and thought it's a opt-in feature but turn out it not. I haven't setup auto save or anything, and it only happens in dante mode

soupi commented 5 years ago

The bottom of the readme in this repo explains the two alternatives i know of including a fork that enables temp files.

jyp commented 5 years ago

@soupi gave the best possible answer. Unfortunately temporary files confuses GHCi (several files for the same module), so this is a "wontfix".