Skip Menu |

This queue is for tickets about the App-EditorTools CPAN distribution.

Report information
The Basics
Id: 47617
Status: resolved
Priority: 0/
Queue: App-EditorTools

People
Owner: mgrimes [...] cpan.org
Requestors: jerry.gay [...] rakudoconsulting.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: (no value)



Subject: App::EditorTools::Vim install should mark what version has been added in .vimrc
when i install App::EditorTools::Vim, an external file (.vimrc) is modified, by adding a number of functions and mappings. however, if i look in .vimrc, there's no sign of what added these entries, which makes maintenance difficult. i manually added a comment " begin App::EditorTools 0.02 " end App::EditorTools 0.02 surrounding the changes. i suggest the module install automatically do this or something similar. ~particle
Thanks for the bug report. I'm not entirely sure I understood the problem though. App::EditorTools::Vim shouldn't modify .vimrc at all. The pod recommends using it to create a ~/.vim/ftplugin/perl/editortools.vim file. Since that is housed under ftplugin/perl it should be loaded for all perl files. I have added the version to the generated output and some more comments. (It still needs plenty more... but we'll get to that at some point.) Let me know if I misunderstood, otherwise I'll assume the changes in v0.04 address this issue. Thanks, Mark On Mon Jul 06 11:01:52 2009, http://particle.myopenid.com/ wrote: Show quoted text
> when i install App::EditorTools::Vim, an external file (.vimrc) is > modified, by adding a number of functions and mappings. however, if i > look in .vimrc, there's no sign of what added these entries, which makes > maintenance difficult. i manually added a comment > > " begin App::EditorTools 0.02 > " end App::EditorTools 0.02 > > surrounding the changes. i suggest the module install automatically do > this or something similar. > > ~particle