vim-pandoc-legacy icon indicating copy to clipboard operation
vim-pandoc-legacy copied to clipboard

segfaults after a LOT of actions

Open tpoisot opened this issue 12 years ago • 1 comments

I'm using vim 7.3, and I've been running into more and more segfaults. I'm on ArchLinux, python support is enabled (I've installed the gvim package), and everything is up to date (I removed and re-installed vim-pandoc and vim-markdown to be sure).

The specific actions that trigger segfaults are

  1. Unfolding a text block
  2. Trying to tpye @ in INSERT mode

The line at fault is 135 in vim-pandoc/syntax/pandoc.vim (in-text citations without location). Whenever it is commented out, there are no more segfaults, but some citations are not recognized.

Is it possible that the regexp is responsible for that?

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul  2 2013 18:31:11)
Patches : 1-1287

tpoisot avatar Jul 31 '13 15:07 tpoisot

@tpoisot Perhaps the text block you unfold contains a @? If so the two cases would reduce to one. See also issues #88 and #87 and my proposed workaround (in #88)

jldiaz avatar Jul 31 '13 16:07 jldiaz