Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell Issues #30

Open
aravindgopall opened this issue Jan 17, 2024 · 3 comments
Open

Haskell Issues #30

aravindgopall opened this issue Jan 17, 2024 · 3 comments

Comments

@aravindgopall
Copy link
Contributor

  • Signature node and actual method node are different and comments are applied on method node causing the comments to be printed after signature (which is not general pattern)
  • when we have a pattern match based code, it's treating them as two different nodes.
@fynnfluegge
Copy link
Owner

fynnfluegge commented Jan 17, 2024

@aravindgopall Hey, you can take a look at how I solved this for python. It is a similar situation I think

https://github.com/fynnfluegge/doc-comments-ai/blob/main/doc_comments_ai/treesitter/treesitter_py.py

@aravindgopall
Copy link
Contributor Author

#32

@fynnfluegge Yes, I have implemented custom logic for Haskell.

@aravindgopall
Copy link
Contributor Author

Currently, with the new PR one kind of syntax is not yet supported.

funcA, funcB, funcC, funcD :: FuncType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants