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

[feature-request] add 'when-let' and 'if-let' #1

Open
rhcher opened this issue Jul 24, 2022 · 0 comments
Open

[feature-request] add 'when-let' and 'if-let' #1

rhcher opened this issue Jul 24, 2022 · 0 comments

Comments

@rhcher
Copy link

rhcher commented Jul 24, 2022

Hi, thank you for your great work. recently aniseed and conjure add when-let and if-let macro. I just add them in
highlights.scm, is this correct?

diff --git a/after/queries/fennel/highlights.scm b/after/queries/fennel/highlights.scm
index ac997a3..3b0f979 100644
--- a/after/queries/fennel/highlights.scm
+++ b/after/queries/fennel/highlights.scm
@@ -5,7 +5,7 @@
 
 ((list .
    (symbol) @keyword)
- (#any-of? @keyword "def" "def-"))
+ (#any-of? @keyword "def" "def-" "when-let" "if-let"))
 
 ((symbol) @include (#eq? @include "autoload"))
 
Repository owner deleted a comment from crydra Feb 23, 2024
Repository owner deleted a comment from boloboloda Feb 23, 2024
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

No branches or pull requests

2 participants
@rhcher and others