Skip to content

Syntax definition causes SIGV in MacVim #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jldiaz opened this issue Jul 24, 2013 · 2 comments
Open

Syntax definition causes SIGV in MacVim #87

jldiaz opened this issue Jul 24, 2013 · 2 comments
Labels

Comments

@jldiaz
Copy link

jldiaz commented Jul 24, 2013

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).

@dsanson
Copy link

dsanson commented Jul 30, 2013

There is some discussion of this on the vim_mac mailing list:

https://groups.google.com/forum/m/#!topic/vim_mac/ToO2vbVeyyo

If it is a bug in MacVim, then I suppose we should disable this regex when running the buggy versions of macvim.

@lambdalisue
Copy link

It is not only for MacVim but for GVim in Debian (wheezy). Maybe because I'm using self compiled version of Vim (not the one comes from package manager)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants