branch: externals/bicep-ts-mode commit e2cf82d14757c3f58a3e0e622c2919c1e4bb1a46 Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Support variable-highlighting in more types of if-statements. --- bicep-ts-mode.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bicep-ts-mode.el b/bicep-ts-mode.el index af10102208..9e895f3b0b 100644 --- a/bicep-ts-mode.el +++ b/bicep-ts-mode.el @@ -134,6 +134,10 @@ If found, added to eglot." (if_statement (parenthesized_expression (identifier) @font-lock-variable-use-face)) + (if_statement + (parenthesized_expression + (binary_expression + (identifier) @font-lock-variable-use-face))) (array (identifier) @font-lock-variable-use-face))