wolfgangmehner / perl-support Goto Github PK
View Code? Open in Web Editor NEWEdit Perl scripts in Vim/gVim. Insert code snippets, run, check, and profile the code and look up help.
Edit Perl scripts in Vim/gVim. Insert code snippets, run, check, and profile the code and look up help.
Hello,
I am new to Vim and having trouble getting this to work with neovim probably because of the default directory differences. I used vim-plug to install perl-support which has installed it under ~/.config/nvim/plugged
instead of the usual ~/.vim
directory mentioned in the readme. However, when I type <leader>n
it says E486: Pattern not found: Perl_LoadMenus
It seems I can't seem to get neovim to look in the right directory for perl-support even after including symlinks in ~/.vim to the locations of the directories under ~/.config/nvim/plugged
and have included the following in my neovim config file:
filetype plugin on
let g:Perl_GlobalTemplateFile = '~/.config/nvim/plugged/perl-support/perl-support/templates/Templates'
I would appreciate any assistance, thank you so much
Hi,
I like your perl-support very much and use it on a daily base.
However, there is one think, that is annoying. It is that mappings cannot be removed again. I have F9 mapped to switch of highlighting and as I use that much, I always end in the debugger that I do not want.
I tried to disable the mapping (unmap ) in the after section of vim. But there, the mapping seems to be not existing. It gets created much later. (I don't know when exactly but later than the after directory)
Is there a way to just delete one mapping without changing the source (I do like to stay updatable)?
Hello, I'm having some problems with vim 8: I've installed it with this vimrc line, but none of the keybindings work:
Plug 'https://github.com/vim-scripts/perl-support.vim'
Instead of using my defined leader key, it uses \
Furthermore vim (or this plugin) doesn't use the perl version that is normally loaded with terminal, and that I've installed with perlbrew, but an ancient version that come with ubuntu.
Hello,
I've just upgraded vim, perl and perl-support and TBH, things are working surprisingly well. However I have one issue to report regarding the Comments.shebang used in Perl::FileSkeleton::Script. As it stands in the default templates the position of <CURSOR>
is not honoured when opening a new *.pl script - the cursor is at the very top left (on the hash of the shebang line) and the user is in insert mode.
Other filetypes (*.t, *.pm, etc) are fine so I was able to narrow it down to the shebang line. Furthermore, if the Comments.shebang is moved to the end of the list in Perl::FileSkeleton::Script, ie.
SetProperty ( 'Perl::FileSkeleton::Script', 'Comments.file description pl; ;Skeleton.script-use;Comments.shebang' )
then the position of <CURSOR>
is honoured, but of course the shebang line is now at the end of the file which is no use.
Obviously, I can work around this for now quite simply. However I wanted to raise it in case it was indicative of some wider problem.
I am using a fresh clone of perl-support from this repo (up to f3f5881) with vim 8.2.4649 (and perl 5.34.0). The shebang line it puts in is #!/usr/bin/env perl
Let me know if I can help debugging this further. If you can't reproduce this then it's likely something else odd in my personal config and I am sorry to have troubled you with it.
Pete
Please explain how to disable the request to update the templates. I don't need them :-)
Or add an option to disable them like forever.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.