View previous topic :: View next topic |
Author |
Message |
blunted Tux's lil' helper
Joined: 21 Jun 2002 Posts: 89 Location: Winnipeg, MB
|
Posted: Sun Jun 30, 2002 10:19 pm Post subject: vim syntax not used |
|
|
I emerged vim and it came with a load of .vim syntax files but vim doesn't use them. What do I need to do to use them? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sun Jun 30, 2002 10:21 pm Post subject: |
|
|
From "man vim":
Code: |
/usr/share/vim/vim61/scripts.vim
Script to detect the type of a file by its contents. See ":help 'file-
type'".
|
|
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sun Jun 30, 2002 10:30 pm Post subject: Re: vim syntax not used |
|
|
Add:
to your .vimrc file in your home directory to turn syntax on automatically.
blunted wrote: | I emerged vim and it came with a load of .vim syntax files but vim doesn't use them. What do I need to do to use them? |
|
|
Back to top |
|
|
blunted Tux's lil' helper
Joined: 21 Jun 2002 Posts: 89 Location: Winnipeg, MB
|
Posted: Sun Jun 30, 2002 11:09 pm Post subject: Thanks |
|
|
Thanks guys. |
|
Back to top |
|
|
|