Skip to content
New issue

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

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

Already on GitHub? # to your account

Add textobjects and indents to cmake #1307

Merged
merged 1 commit into from
Dec 25, 2021
Merged

Conversation

Flakebi
Copy link
Contributor

@Flakebi Flakebi commented Dec 19, 2021

Indentation and parameter selection works well.
Function selection doesn’t work, my guess is that something is weird with the cmake grammar.
(Also, I wasn’t able to add a matcher for @function.inside because there is no dedicated element for that. The tree is just (macro_def (macro_command) (<body node>) (<more body nodes>) … (endmacro_command)).)

@archseer archseer merged commit ec878e4 into helix-editor:master Dec 25, 2021
@Flakebi Flakebi deleted the cmake branch December 25, 2021 22:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants