From 972ad197c13d25f9b54a1c49405dc218a78781d6 Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Sun, 14 Apr 2019 08:26:03 -0500 Subject: [PATCH] driver: Disable BASH_REMATCH Fixes #612. --- zsh-syntax-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index dc85426..df8a1aa 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -101,7 +101,7 @@ _zsh_highlight() typeset -r zsyh_user_options emulate -L zsh - setopt localoptions warncreateglobal + setopt localoptions warncreateglobal nobashrematch local REPLY # don't leak $REPLY into global scope # Do not highlight if there are more than 300 chars in the buffer. It's most