From 4b77af73fb5e7919ac11dd48505a55f6968ff95b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Fri, 3 Jun 2016 08:41:45 +0000 Subject: [PATCH] minor: Fix typo in comment. Two instances. --- zsh-syntax-highlighting.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 676b278..5ba8695 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -41,7 +41,7 @@ if [[ -o function_argzero ]]; then else # $0 is unreliable, so the call to _zsh_highlight_load_highlighters will fail. # TODO: If 'zmodload zsh/parameter' is available, ${funcsourcetrace[1]%:*} might serve as a substitute? - # TODO: also check POSIX_ARGZERO, but not it's not available in older zsh + # TODO: also check POSIX_ARGZERO, but note it's not available in older zsh echo "zsh-syntax-highlighting: error: not compatible with NO_FUNCTION_ARGZERO" >&2 return 1 fi @@ -136,7 +136,7 @@ _zsh_highlight() } } -# Apply highlighting based on entries in the zle_highligh array. +# Apply highlighting based on entries in the zle_highlight array. # This function takes four arguments: # 1. The exact entry (no patterns) in the zle_highlight array: # region, paste, isearch, or suffix