Skip to content

[BUG] parameter ... set in enclosing scope #781

Open
@ratijas

Description

@ratijas

While sourcing zsh-syntax-highlighting.zsh, zsh encounter couple of warnings.

/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh:434: array parameter ZSH_HIGHLIGHT_HIGHLIGHTERS set in enclosing scope in function (anon)
_zsh_highlight_main__precmd_hook:1: array parameter _zsh_highlight_main__command_type_cache set in enclosing scope in function _zsh_highlight_main__precmd_hook

I have my WARN_CREATE_GLOBAL and WARN_NESTED_VAR zsh options turned on.

See also

#438

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions