Skip to content

Commit 5d139fc

Browse files
committed
Fix typos in comments.
1 parent d1802e3 commit 5d139fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

highlighters/main/main-highlighter.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ _zsh_highlight_highlighter_main_paint()
318318
# that wouldn't be followed by a colon in a getopts specification.
319319
local flags_sans_argument
320320
# $flags_solo is a set of letters, corresponding to option letters that, if
321-
# present, mean the precommand will now be acting as a precommand, i.e., will
321+
# present, mean the precommand will not be acting as a precommand, i.e., will
322322
# not be followed by a :start: word.
323323
local flags_solo
324324
# $precommand_options maps precommand name to values of $flags_with_argument,

zsh-syntax-highlighting.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
# First of all, ensure predictable parsing.
3131
typeset zsh_highlight__aliases="$(builtin alias -Lm '[^+]*')"
32-
# In zsh <= 5.2, `alias -L` emits aliases that begin with a plus sign ('alias -- +foo=42')
33-
# them without a '--' guard, so they don't round trip.
32+
# In zsh <= 5.2, aliases that begin with a plus sign ('alias -- +foo=42')
33+
# are emitted by `alias -L` without a '--' guard, so they don't round trip.
3434
#
3535
# Hence, we exclude them from unaliasing:
3636
builtin unalias -m '[^+]*'

0 commit comments

Comments
 (0)