On 2022-07-19, Kutty, Rejeesh wrote: > Hi, > > I recently ran the installer and it updated vim to 8.2 > > :version > VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 13 2022 22:00:24) > Included patches: 1-4372 > > > Now when I open a perl script, I get the following message: > > Command terminated > Error detected while processing BufRead Autocommands for "*.pl"..function > dist#ft#FTpl[10]..FileType > Autocommands for "*"..function <SNR>11_LoadFTPlugin[18]..script > /usr/share/vim/vim82/ftplugin/perl. > vim[57]..BufRead Autocommands for "*.pl"..function dist#ft#FTpl[10]..FileType > Autocommands for "*".. > function <SNR>11_LoadFTPlugin[18]..script > /usr/share/vim/vim82/ftplugin/perl.vim: > line 50: > E484: Can't open file /tmp/vveXImd/0 > Press ENTER or type command to continue > > > And all syntax is lost. > > This only happens with perl-scripts. > > I opened Verilog/SystemVerilog/Shell/CPP/C/TCL files, and all these opened > without problems. > > Not sure if I should ask this in the vim/github help, thought I will start > here.
I tried the following: $ /usr/bin/vim -N -u NONE -i NONE -c 'syntax on' -c 'e /usr/share/perl5/5.32/perl5db.pl' where the perl file is one I thought you might have on your system and vim is the current Cygwin package version, 8.2.4372. I don't get any error messages. If that works for you, then there seems to be something in your Vim configuration, e.g., your vimrc, that's causing the problem, but I haven't given a whole lot of thought to what that might be. As for where to ask about the problem, this is probably the right place to start and where the best group of folks is to figure out whether it's a Cygwin problem, a Vim problem, or a configuration problem. Regards, Gary -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple