vim plugin should be installed under vim/addons, not vim/vim70

Bug #181960 reported by Gabriel de Perthuis
6
Affects Status Importance Assigned to Milestone
puppet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: puppet

vim70 is for files shipped with vim, I think.

The current version of vim is vim 7.1, and it will not find the puppet plugins.

The fix is a one-liner change to debian/rules .

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 9.04?

Changed in puppet:
status: New → Incomplete
Revision history for this message
Gabriel de Perthuis (g2p) wrote :

Yes (puppet uses /usr/share/vim/vim71 and vim is at 7.2).

Changed in puppet:
status: Incomplete → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package puppet - 0.24.5-3

---------------
puppet (0.24.5-3) unstable; urgency=medium

  * Set wait for cert timeout to 5 secs, to avoid resource abuse (Closes: #509566)
  * Distribute filebucket binary (Closes: #499999)
  * Place vim syntax in the correct location (LP: #181960)

 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 09 Feb 2009 08:56:51 +0000

Changed in puppet:
status: Confirmed → Fix Released
Revision history for this message
Dave Meyers (dcmeyers) wrote :

I don't believe this is fixed. I just setup puppet on a new karmic installation and the puppet syntax highlight is not working. Digging deeper is appears that the runtimepath for vim set in /usr/share/vim/vim72/debian.vim is

"~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after"

/usr/share/vim/addons is not included in this path, I believe the files should go in /var/lib/vim/addons instead.

I checked and found the same problem on jaunty.

workaround for now is the just modify your runtime path and the ftdetect contents to your .vimrc file

set runtimepath=~/.vim,/usr/share/vim/addons,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
au BufRead,BufNewFile *.pp set filetype=puppet

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.