internal: Fix docstrings.

This commit is contained in:
Daniel Shahaf 2015-09-29 01:20:54 +00:00
parent 69203b1a1d
commit faed2fa49e

View File

@ -254,14 +254,14 @@ _zsh_highlight_main_highlighter()
done done
} }
# Check if the argument is variable assignment # Check if $arg is variable assignment
_zsh_highlight_main_highlighter_check_assign() _zsh_highlight_main_highlighter_check_assign()
{ {
setopt localoptions extended_glob setopt localoptions extended_glob
[[ $arg == [[:alpha:]_][[:alnum:]_]#(|\[*\])(|[+])=* ]] [[ $arg == [[:alpha:]_][[:alnum:]_]#(|\[*\])(|[+])=* ]]
} }
# Check if the argument is a path. # Check if $arg is a path.
_zsh_highlight_main_highlighter_check_path() _zsh_highlight_main_highlighter_check_path()
{ {
setopt localoptions nonomatch setopt localoptions nonomatch