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

Allow less than and greater than in macros #3556

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

A-Walrus
Copy link
Contributor

Resolves #3538

@archseer archseer added this to the 22.08 milestone Aug 29, 2022
Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

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

Makes sense 👍. These were removed with #2369 but we do end up needing lt and gt because the key-sequence DSL uses <*> for multi-character keys and key-combinations. With this change, a macro that uses </> for indents is recorded as <lt>/<gt>.

@archseer archseer merged commit ae81fbd into helix-editor:master Aug 30, 2022
@archseer
Copy link
Member

Great work as always @A-Walrus! 🎉

thomasskk pushed a commit to thomasskk/helix that referenced this pull request Sep 9, 2022
* Allow less than and greater than in macros

* Fix failing test
jdrst pushed a commit to jdrst/helix that referenced this pull request Sep 13, 2022
* Allow less than and greater than in macros

* Fix failing test
herkhinah pushed a commit to herkhinah/helix that referenced this pull request Dec 11, 2022
* Allow less than and greater than in macros

* Fix failing test
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.

Macros that do line indenting with < or > fails with 'Invalid macro'
3 participants