Skip to content

"EVP_E492: Not an editor command" after escaped bar #98

Open
@blueyed

Description

@blueyed

Given:

syn match foo +\(\\\\\|.\)\{-}[^\\]"+

Results in:

t-synerror.vim:1:25:Error: EVP_E492: Not an editor command: ){-}[^\\]"+

It seems to mistake the (escaped) "|" for a command separator (bar) therein.

(seen in Vim's own syntax/vim.vim: https://github.com/blueyed/vim/blob/a4f4d62696782db3aa336e0bc576ddf5263ff36a/runtime/syntax/vim.vim#L310)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions