@dschrempf thanks so much for these changes :) I counted nearly 18 commits, but most of them are conservative. Could you make a new one fork for the 'Add test suite, dev Nix Flake, and document...
Yep I can confirm this too, I'm surprised it changed so randomly.
cabal-ts-mode?
There is a function to send code it haskell-ts-compile-region-and-go
cabal-ts-mode?
We were able to get the haskell-mode fellas to factor out cabal-mode just for this purpose. Obviously, I would prefer using the treesitter mode, I think the...
Yes, this feature is in emacs 31 which I assume is being released within the next few months. So we have lots of time to look at it. Meanwhile we can sort out the grammar installation issue
Oh... We can't expect users to compile the thing manually. I'll add to a issue at https://github.com/tek/tree-sitter-haskell/issues/31 to see if the author is willing to add a release branch
If you do M-x tree-sitter-install-language-grammar, emacs autofills the wrong grammar. To fix this, we could modify treesit-language-source-alist to point the right haskell repository. I tried...
Update: the dev's said there's no such API that can do what we want. My next idea was to 'catch' the warning produced by treesitter on version mismatch and give our own error message saying the...
I think this might be a limitation of the treesitter library itself. To check with the dev's, I made a post on the emacs-devel mailing list(It should appear on the archive soon at https://lists.gnu...
I agree that we should switch from using the unmaintained grammar(there's even one issue that was found through haskell-ts-mode that hasn't been solved yet https://github.com/tree-sitter/tree-sit...
@IQubic Can I close the issue now?
did commit bf143ee838 do the job?
@dschrempf Are you suggesting I should rename haskell-ts-ghci-switches to haskell-ts-ghci-args, I agree with this change but am double minded since it will break backward compatibility.
For potential future contributes. That's how open source works
Here is an example dir locals file that does that you want.
You would enter the the root dir of the project(where the .cabal file is at), and then edit the .dir-locals.el file to set the values accordingly. Now whenever you will be in that directory of a...