Comments (8)
Do you see the "Perl" menu (in gVim)? What is the output of this command, on the Vim command-line:
:call Perl_Settings(2)
Is there a file ~/.vim/bundle/perl-support/plugin/perl-support.vim
?
from vim-plugins.
I do not see the Perl menu when I open a *.pl file, when I open *.pl I get the above mentioned error.
when I did :call Perl_Settings(2) I got the below message
E117: Unknown function: Perl_Settings
I do see the perl-support.vim at ~/.vim/bundle/perl-support/plugin/perl-support.vim
I am using vim 7.4 to do all of the above.
from vim-plugins.
So Perl-Support is there but is not loaded properly, which is a bit puzzling. Could you please run to following command:
:scriptnames
It lists all plug-ins which were loaded by Vim. Does the list contain .../plugin/perl-support.vim
?
Also, please run this, it might help me understand what is going on:
:echo g:Perl_PluginVersion
from vim-plugins.
:scriptnames just shows following ones for perl support.
~/.vim/plugged/perl-support/ftdetect/template.vim
~/.vim/plugged/perl-support/ftplugin/perl.vim
:echo g:Perl_PluginVersion gave:
E121: Undefined variable: g:Perl_PluginVersion
E15: Invalid expression: g:Perl_PluginVersion
Thanks for the replies :)
from vim-plugins.
sorry, I do see these also (after doing :PlugUpdate everytime I open gvim):
68: ~/.vim/plugged/perl-support/plugin/perl-support.vim
69: ~/.vim/plugged/perl-support/autoload/mmtemplates/config.vim
70: ~/.vim/plugged/perl-support/autoload/mmtoolbox/tools.vim
71: ~/.vim/plugged/perl-support/autoload/mmtoolbox/make.vim
from vim-plugins.
oh this problem seems wierd..
I used vim plug to install perl-support again and when I open a perl script in gvim the problem exists, but
- I run :PlugUpdate - updates all plugins
- do a vsp on a perl script, then PERL support comes back and WORKS .
But when I open *.pl directly from terminal in gvim perl, I still get the same error.
from vim-plugins.
Finally found a solution for the issue.
I had to keep my vim plug plugins in .vimrc instead of .gvimrc . Once I did that the issue got solved.
Thank you for the help.
from vim-plugins.
Nice to hear that. Happy Vim'ing.
from vim-plugins.
Related Issues (20)
- perl path on windows
- template error message HOT 4
- Add lua support into SpaceVim. HOT 12
- Bash-Support: g:BASH_Ctrl_j = 'off' ignored HOT 3
- C-support: how to integrate c-support into existing vim config HOT 5
- Bash support: broken highlighting on ${var/pat/} HOT 1
- Perl-Support: Extending the Perl/POD templates and menu HOT 2
- C-Support: header and implementation comment interchanged HOT 1
- C-support: How to display output in gVim and not vimrun? (Windows 10) HOT 1
- bash-support: Go to end of file after inserting a new header HOT 6
- c-support: Modified class template ignores filename HOT 2
- c-support: Spacing in template is ignored HOT 2
- Bash-Support: function calls references HOT 5
- Bash-Support: parce call stack on error HOT 8
- Not working here HOT 4
- Bash-support - GVim and templates question HOT 2
- Perl-Support: E488: Trailing characters HOT 7
- C-Support: Change C idiom function return indent HOT 6
- c-support Duplicate Tags HOT 1
- nr cmd vim tips e486 error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-plugins.