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

Nested macros #12630

Open
cgahr opened this issue Jan 22, 2025 · 0 comments
Open

Nested macros #12630

cgahr opened this issue Jan 22, 2025 · 0 comments
Labels
C-enhancement Category: Improvements

Comments

@cgahr
Copy link
Contributor

cgahr commented Jan 22, 2025

The new macro expansion syntax is great. However, I just wanted to include one macro in another which does not work:

[keys.normal."["]
b = "@\"_?^#<space>%%<ret>"

[keys.normal.backspace]
t = "@[b<do something>"

[b finds the previous occurrence of # %% at the beginning of the line. I wanted to use this macro to make another macro more readable, but it did not work.

I assume that this is not trivial to do and also not high priority, but I think a tracking issue is useful nonetheless.

@cgahr cgahr added the C-enhancement Category: Improvements label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

1 participant