Open gsrith opened 10 years ago
My first guess is that this is a problem with the Perl interface, the Perl code that is embedded in the Vim-Script. Executing Vim-Script should not crash the interpreter, which is Vim/gVim. Neither should the Perl integration, but that's the part which is presumably tested less. This version does not use the Perl interface. You should not call the regex analyzer or the profiling, since they also rely on the Perl interface. This replaces plugin/perl-support.vim: https://raw.githubusercontent.com/WolfgangMehner/vim-plugins/perl-interf-test/plugin/perl-support.vim
@gsrith : This is not a permanent solution, but this is the best guess as to what the problem is. If this version works for you, the underlying problem is most likely with Vim's Perl integration.
Other question: Does MacVim 7.4.258 use a different version of Perl compared to MacVim 7.3?
There actually seem to be some problems here. This is currently under investigation.
We fixed a problem with Perl-Support. Does this work? https://github.com/WolfgangMehner/vim-plugins/commit/177b6659bb6fdef3ded0d989aa5517c2a0095c57
With a clean install of Perl-Support 5.3.1, and no .vimrc file, using MacVim 7.4.258 (Snapshot 73) under MacOSX 10.8.5, I can reproduce the bug by opening an empty perl-file, made with 'touch hat.pl'. This results in MacVim closing the window (and the file not being opened), though the MacVim application is still loaded and a new window can be opened. The problem is the same if the file is not empty. If I do the same with an empty Bash file there is no problem (I have Bash-Support too).
If I repeat the same with MacVim 7.3 (53), the perl-file can easily be opened.
The problem also occurs using the older version of Perl-Support I have: version 5.2pre.