Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15597 - [vim] runtimepath needs to be updated

Attached to Project: Arch Linux
Opened by xduugu (xduugu) - Monday, 20 July 2009, 12:14 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 15 August 2009, 07:00 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
In the latest vim package, the symlink vimcurrent → vim72 was removed, but vimcurrent is still listed in the runtimepath in archlinux.vim. This breaks amongst others colorschemes and gvim.

Additional info:
* vim 7.2.234-1

Solution:
--- archlinux.vim.old
+++ archlinux.vim
@@ -5,7 +5,7 @@
" NEVER EDIT THIS FILE, IT'S OVERWRITTEN UPON UPGRADES, GLOBAL CONFIGURATION
" SHALL BE DONE IN /etc/vimrc, USER SPECIFIC CONFIGURATION IN ~/.vimrc

-set runtimepath=~/.vim,/usr/share/vim,/usr/share/vim/vimcurrent
+set runtimepath=~/.vim,/usr/share/vim,/usr/share/vim/vim72

" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Saturday, 15 August 2009, 07:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  in 7.2.245-1
Comment by Tobias Kieslich (tobias) - Monday, 20 July 2009, 15:24 GMT
That was my bad, I forgot to remove the path entirely in the final build. We shall never have to set the runtimepath anymore. As for plugins, they should be installed to /usr/share/vim/vimfiles as this appears to be the standard extension path in vim out of the box
Comment by xduugu (xduugu) - Monday, 20 July 2009, 18:22 GMT
You are right. The runtimepath can be completely removed.
Comment by Alper Kanat (T-u-N-i-X) - Monday, 20 July 2009, 21:46 GMT
I think I've came across this problem when I do syn on:

Error detected while processing /usr/share/vim/vim72/syntax/syntax.vim:
line 42:
E216: No such group or event: filetypedetect BufRead
Press ENTER or type command to continue

Attaching a screenshot..
Comment by Smith Dhumbumroong (zodmaner) - Wednesday, 22 July 2009, 11:53 GMT
Confirm, comment out the line:
set runtimepath=~/.vim,/usr/share/vim,/usr/share/vim/vimcurrent

Fixed problem with colorschemes and gvim on my system. Thanks guys.
Comment by quantax (quantax) - Sunday, 26 July 2009, 15:48 GMT
Also ~/.vim/after should be in the runtimepath. See vim -c 'h rtp'.

Loading...