Code Monkey home page Code Monkey logo

perl-support's People

Contributors

wolfgangmehner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

perl-support's Issues

Very basic question about configuration

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

Disabling of mapping

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)?

Some questions about the configuration

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.

Cursor position not honoured after Comments.shebang

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

disable template request

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.