From ea8482621e2bc616e43c4711a479b026351d80c1 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 27 May 2021 21:26:42 +0200 Subject: [PATCH] Elixir: Highlight `with` as conditional `with` is also considered a conditional in Elixir. Highlight it accordingly. --- queries/elixir/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/elixir/highlights.scm b/queries/elixir/highlights.scm index 106cf3a1d..42ba877c7 100644 --- a/queries/elixir/highlights.scm +++ b/queries/elixir/highlights.scm @@ -90,7 +90,7 @@ "else" @conditional (call (function_identifier) @conditional - (#any-of? @conditional "case" "cond" "if" "unless")) + (#any-of? @conditional "case" "cond" "if" "unless" "with")) (call (function_identifier) @repeat (#eq? @repeat "for"))