FS#19474 - broken syntax highlighting in vim

Attached to Project: Arch Linux
Opened by Martin Sandsmark (sandsmark) - Saturday, 15 May 2010, 19:33 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 18 May 2010, 13:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When trying to turn on syntax highlighting in latest version of vim on x86_64, I get this:

E484: Can't open file /usr/share/vim/vim72/syntax/syntax.vim 0,0-1 All

I demand a refund!
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 18 May 2010, 13:47 GMT
Reason for closing:  Works for me
Additional comments about closing:  See last comment
Comment by Ike Devolder (BlackEagle) - Saturday, 15 May 2010, 19:42 GMT
for me all is working fine

+> pacman -Qs vim
local/gvim 7.2.2150-1
Vi Improved, a highly configurable, improved version of the vi text editor (with advanced features, such as a GUI)
local/vim-runtime 7.2.2150-1
Runtime for vim and gvim
Comment by Martin Sandsmark (sandsmark) - Saturday, 15 May 2010, 19:44 GMT
are you on x86_64?
Comment by Ike Devolder (BlackEagle) - Saturday, 15 May 2010, 22:16 GMT
+> uname -a
Linux BlackFalcon 2.6.33-SLK #1 SMP Fri May 14 00:49:02 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux

for me vim or gvim are both fine

maybe extraction error ? cache (disk) full ?
Comment by Martin Sandsmark (sandsmark) - Saturday, 15 May 2010, 22:30 GMT
sulva:~/ pacman -Q vim
vim 7.2.2150-1
sulva:~/ uname -m
x86_64


No, disk isn't full (39%), I tried reinstalling and it didn't help. Also tried without any .vimrc.

Do you have the file in question? (/usr/share/vim/vim72/syntax/syntax.vim)

If so, what does `pacman -Qo /usr/share/vim/vim72/syntax/syntax.vim` return?
Comment by Ionut Biru (wonder) - Sunday, 16 May 2010, 00:12 GMT
> pacman -Qo /usr/share/vim/vim72/syntax/syntax.vim
/usr/share/vim/vim72/syntax/syntax.vim is owned by vim-runtime 7.2.2150-1
Comment by Ike Devolder (BlackEagle) - Sunday, 16 May 2010, 08:12 GMT
"pacman -Qs vim":

should give you:

vim
vim-runtime

OR

gvim
vim-runtime

if you dont have vim-runtime it will not work

also check http://www.archlinux.org/news/495/
Comment by Martin Sandsmark (sandsmark) - Monday, 17 May 2010, 21:04 GMT
blah, dress me up and call me barbie, seems like it was a broken vim-runtime installation. Reinstalling it helped.

Loading...