Opened 16 years ago
Closed 15 years ago
#2824 closed bug (fixed)
vim: no syntax highlight
Reported by: | Adek336 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Command Line Tools | Version: | R1/pre-alpha1 |
Keywords: | Cc: | imker@… | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
on :syntax enable I am told that E484: Can't open file /etc/vim/syntax/syntax.vim
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Actually, all the files needed are already in the source tree. They could be easily installed right now.
src/bin/vim/runtime/* should be copied to /etc/vim/
and data/etc/vim/vimrc should be copied to /etc/vim/
however vimrc needs to be augmented by the commands from the earlier post to enable syntax highlighting by default.
Also, there are no vim sources under vendor/.
in build/jam/HaikuImage there already are
SEARCH on <etc>vimrc = [ FDirName $(HAIKU_TOP) data etc vim ] ; AddFilesToHaikuImage beos etc vim : <etc>vimrc ;
but vimrc isn't by default copied to /etc/vim/.
comment:3 by , 16 years ago
Cc: | added |
---|
follow-up: 5 comment:4 by , 15 years ago
Since vim seems to have been updated to 7.2 and the problem doesn't exist anymore (at least for me using the default OptionalPackage), can this ticket be closed?
comment:5 by , 15 years ago
Replying to stimut:
Since vim seems to have been updated to 7.2 and the problem doesn't exist anymore (at least for me using the default OptionalPackage), can this ticket be closed?
This ticket speaks about the version of vim, bounded with Haiku sources. That one still has version 6.3. Probably this ticket is a marker to remove the vim from the sources in the future. ;-)
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
vim has now been removed from Haiku's source, try again with adding vim to your UserBuildProfile and see if the vim optional package takes care of this, if not please open a new ticket over on HaikuPorts.
To fix,
the files
vim-6.4-rt1.tar.gz
vim-6.4-rt2.tar.gz
from http://www.vim.org/download.php are needed.
Extract both to /etc/vim
Create file ~/.vimrc
where Esc is the real Escape, entered with Ctrl+V Esc.
I am not sure if the directory /etc/vim is a good choice, perhaps these files should be located in /boot/common/share/vim (if so, then vim will have to be told the path through environment variables)