commercialhaskell / stack-ide

Stack-based JSON interface to ide-backend
98 stars 23 forks source link

stack-mode only knows how to load a hardcoded buffer path #58

Closed thomasjm closed 9 years ago

thomasjm commented 9 years ago

I noticed that stack-mode actually tries to load a hardcoded file every time it calls stack-mode-load-buffer? See https://github.com/commercialhaskell/stack-ide/blob/master/stack-mode/stack-mode.el#L577. I'm guessing stack-mode has only been used on a single project so far? It would be awesome if it would actually load the code for the buffer I have open :). Sorry if I'm missing something obvious here...

mgsloan commented 9 years ago

Hey! That function isn't actually used for anything currently. I've commented it out. Use stack-mode-reload instead.