From 92d5b017bb91321688a22b69eeee14983fc5da30 Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Sun, 16 Jul 2023 16:15:29 +0100 Subject: [PATCH] Fix sh brackets detection --- syntax_files/sh.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax_files/sh.yaml b/syntax_files/sh.yaml index 069433f..5367752 100644 --- a/syntax_files/sh.yaml +++ b/syntax_files/sh.yaml @@ -19,6 +19,7 @@ rules: # Conditional flags - statement: "--[a-z-]+" - statement: "\\ -[a-z]+" + - symbol.brackets: "(\\[|\\]|\\{|\\}|[()])" - identifier: "\\$\\{?[0-9A-Z_!@#$*?-]+\\}?" - identifier: "\\$\\{?[0-9A-Z_!@#$*?-]+\\}?"