Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-18-2005, 08:25 PM   #1
Registered: Nov 2004
Location: US
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
vim syntax highlighting

How would I change the files vim highlights? I'd like to have vim highlight .phps as well as .php.

I tried doing this in /usr/share/vim/vim63/syntax:
ln -s php.vim phps.vim
but it didn't work. ^^;
Old 06-18-2005, 11:32 PM   #2
Senior Member
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 47
Edit: /usr/share/vim/vim63/filetype.vim and add the extension to the line with php and php3
Old 06-19-2005, 11:08 AM   #3
Registered: Nov 2004
Location: US
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
aha. thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RdHat Vim Syntax Highlighting R4z0r Linux - Software 8 09-06-2011 01:22 PM
vim syntax highlighting problems. donniejones18 Linux - Software 7 04-16-2006 08:03 PM
Adding Syntax Highlighting to VIM TastyWheat Linux - Software 2 02-27-2004 03:37 AM
Java syntax highlighting in vim Phantomas Linux - Software 0 08-16-2003 04:34 AM
Vim syntax highlighting NSKL Linux - Software 2 11-09-2002 02:39 AM

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration