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

parse markdown headings #13

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

tpeacock19
Copy link
Contributor

This PR is to include functionality to fold Markdown headings.

treesit-fold.el Outdated Show resolved Hide resolved
@jcs090218
Copy link
Member

Can you paste the screenshot so I know how it looks? 🤔 Thank you!

@tpeacock19
Copy link
Contributor Author

image

@jcs090218
Copy link
Member

There is an error in this implementation: 🤔

treesit-fold.el:1165:5: Warning: the function ‘treesit-node-get’ is not known to be defined.

@tpeacock19
Copy link
Contributor Author

its a helper function defined in treesit.el, I'm not sure why it gave you that error, but I've replaced it with a function defined in treesit.c that you already have declared

@jcs090218 jcs090218 merged commit 18d874f into emacs-tree-sitter:master Jul 25, 2024
5 of 6 checks passed
@jcs090218
Copy link
Member

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants