Monday, April 13, 2020

Error editing perl source file with filetype plugin indent on in my _vimrc

If I attempt to edit a perl source file with "filetype plugin indent on"
in my _vimrc file I get the following error:

"test.pl" 4L, 69CJohnson\AppData\Local\Temp\VIo1F34.tmp was unexpected
at this t
ime.

Error detected while processing C:\Program Files
(x86)\Vim\vim82\ftplugin\perl.v
im:
line   50:
E484: Can't open file C:\Users\Knute Johnson\AppData\Local\Temp\VIo1F34.tmp
Error detected while processing function <SNR>6_LoadFTPlugin:
line   17:
E170: Missing :endfor
Error detected while processing function dist#ft#FTpl:
line   10:
E171: Missing :endif
Press ENTER or type command to continue

Then when I press ENTER and edit the file I can't use ZZ to save and
exit because it shows another error:

E13: File exists (add ! to override)

This all used to work just fine.  I've uninstalled, cleaned out all the
files I could find and reinstalled and still have the problem.  Using
8.2, Windows 10, I don't have this problem on Linux.

My _vimrc file:

syntax on
filetype plugin indent on
set showmatch
set tabstop=4
set shiftwidth=4
set expandtab

Any ideas where to start?

Thanks,

--

Knute Johnson

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/a5d41c52-c7b7-df8d-07e1-7fa91042a580%40585ranch.com.

No comments:

Post a Comment