pranshu commented on issue pranshu/haskell-ts-mode#65 2026年06月17日 18:36:56 +02:00
treesit-simple-imenu-settings puts predicate in place of regex

@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...

pranshu commented on issue pranshu/haskell-ts-mode#63 2026年04月19日 20:50:06 +02:00
Search engine preference in google

Yep I can confirm this too, I'm surprised it changed so randomly.

pranshu commented on issue pranshu/haskell-ts-mode#64 2026年04月10日 13:45:25 +02:00
cabal-ts-mode?

There is a function to send code it haskell-ts-compile-region-and-go

pranshu commented on issue pranshu/haskell-ts-mode#64 2026年04月04日 14:57:42 +02:00
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...

pranshu opened issue pranshu/haskell-ts-mode#63 2026年03月25日 19:24:29 +01:00
Search engine preference in google
pranshu commented on pull request pranshu/haskell-ts-mode#62 2026年03月22日 04:17:28 +01:00
Adapt queries to grammar provided by @tek

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

pranshu commented on pull request pranshu/haskell-ts-mode#62 2026年03月13日 15:55:45 +01:00
Adapt queries to grammar provided by @tek

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

pranshu commented on pull request pranshu/haskell-ts-mode#62 2026年03月12日 16:18:07 +01:00
Adapt queries to grammar provided by @tek

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...

pranshu pushed to dschrempf-tek-grammar at pranshu/haskell-ts-mode 2026年03月12日 16:16:37 +01:00
f33cbfa952 Document the new grammar
5584fbdbf2
Adapt queries to grammar provided by @tek
Compare 2 commits »
pranshu created branch dschrempf-tek-grammar in pranshu/haskell-ts-mode 2026年03月12日 16:16:37 +01:00
pranshu commented on pull request pranshu/haskell-ts-mode#62 2026年03月12日 05:55:58 +01:00
Adapt queries to grammar provided by @tek

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...

pranshu commented on pull request pranshu/haskell-ts-mode#62 2026年03月10日 16:32:42 +01:00
Adapt queries to grammar provided by @tek

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...

pranshu commented on pull request pranshu/haskell-ts-mode#62 2026年03月10日 14:14:57 +01:00
Adapt queries to grammar provided by @tek

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...

pranshu commented on issue pranshu/haskell-ts-mode#61 2025年12月05日 13:54:37 +01:00
Allow cabal repl for haskell-ts-ghci

@IQubic Can I close the issue now?

pranshu commented on issue pranshu/haskell-ts-mode#61 2025年12月04日 19:23:35 +01:00
Allow cabal repl for haskell-ts-ghci

did commit bf143ee838 do the job?

pranshu pushed to main at pranshu/haskell-ts-mode 2025年12月04日 19:22:31 +01:00
bf143ee838 Make argument docstrings for haskell-ts-ghci more clear
pranshu commented on issue pranshu/haskell-ts-mode#61 2025年12月04日 10:16:18 +01:00
Allow cabal repl for haskell-ts-ghci

@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.

pranshu commented on issue ngn/k#110 2025年12月04日 07:42:13 +01:00
WTF is up with the code

For potential future contributes. That's how open source works

pranshu commented on issue pranshu/haskell-ts-mode#61 2025年12月04日 06:48:08 +01:00
Allow cabal repl for haskell-ts-ghci

Here is an example dir locals file that does that you want.

pranshu commented on issue pranshu/haskell-ts-mode#61 2025年12月03日 20:45:19 +01:00
Allow cabal repl for haskell-ts-ghci

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...