Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Inlinetreesit-query-p to ensure compatibility with Emacs 30#102

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@rrudakov
Copy link
Contributor

Follow up#99 (comment)

a query that is valid in a previous grammar version but invalid in the
required version."
(treesit-query-valid-p'clojure '((sym_lit (meta_lit)))))
(ignore-errors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This doesn't look like inlining to me. :D

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Would you prefer to define a separate function?

I just replaced thetreesit-query-valid-p call with it's implementation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ah, I didn't realize at first that the implementation was so simple. Still, I prefer a separate function so it'd be more likely we remember to replace it withtreesit-query-valid-p when the time comes.

rrudakov reacted with thumbs up emoji
@rrudakovrrudakovforce-pushed thefix/missing-treesit-function branch from74de948 tob9b03d4CompareMay 29, 2025 09:54
@rrudakovrrudakov requested a review frombbatsovMay 29, 2025 09:54
@bbatsovbbatsov merged commit5df8343 intoclojure-emacs:mainMay 29, 2025
3 checks passed
@rrudakovrrudakov deleted the fix/missing-treesit-function branchMay 29, 2025 10:54
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@bbatsovbbatsovAwaiting requested review from bbatsov

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@rrudakov@bbatsov

[8]ページ先頭

©2009-2025 Movatter.jp