Skip to content

Syntax definition causes SIGV in MacVim #87

Open
@jldiaz

Description

@jldiaz

I had lots of problems trying to edit a text in markdown about Git, using filetype=pandoc and syntax on. After some research, I've found that the problem is related to the @ char appearing in some contexts. For example, opening the following minimal example with MacVim causes the segfault:

Commit `HEAD@{yesterday}` is one day before current head.

The problem was solved by commenting out the lines which define regexps for pandocPCite (lines 130 to 137) in syntax/pandoc.vim file.

Although I discovered the culprit and solved the issue (at least for me, since I don't need the PCite syntax), I still don't understand why this could cause a segfault, and why only with MacVim version (other vim versions I tried had no problem).

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