public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin update, gvim 8.2. file type plugin, perl script error
@ 2022-07-19 19:13 Kutty, Rejeesh
  2022-07-19 22:02 ` Gary Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Kutty, Rejeesh @ 2022-07-19 19:13 UTC (permalink / raw)
  To: cygwin


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.

Thanks,
Rejeesh




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cygwin update, gvim 8.2. file type plugin, perl script error
  2022-07-19 19:13 cygwin update, gvim 8.2. file type plugin, perl script error Kutty, Rejeesh
@ 2022-07-19 22:02 ` Gary Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Johnson @ 2022-07-19 22:02 UTC (permalink / raw)
  To: cygwin

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-19 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 19:13 cygwin update, gvim 8.2. file type plugin, perl script error Kutty, Rejeesh
2022-07-19 22:02 ` Gary Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).