From 2a3509e5601c1f9f7e57ab9a96e5538523ab2e36 Mon Sep 17 00:00:00 2001 From: throwawayaccount12345-1 <77868642+throwawayaccount12345-1@users.noreply.github.com> Date: Thu, 18 Nov 2021 13:51:53 -0300 Subject: [PATCH] sh filetype: do not highlight an empty array as a function `x=` and `x+=` should not be highlighted as a function. ``` x=() x+=() ``` --- rc/filetype/sh.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/sh.kak b/rc/filetype/sh.kak index 156cf69d1..f853199c7 100644 --- a/rc/filetype/sh.kak +++ b/rc/filetype/sh.kak @@ -61,7 +61,7 @@ evaluate-commands %sh{ add-highlighter shared/sh/code/operators regex [\[\]\(\)&|]{1,2} 0:operator add-highlighter shared/sh/code/variable regex ((?