LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-18-2005, 09:25 PM   #1
MiniMe001
Member
 
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:
Code:
ln -s php.vim phps.vim
but it didn't work. ^^;
 
Old 06-19-2005, 12:32 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
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, 12:08 PM   #3
MiniMe001
Member
 
Registered: Nov 2004
Location: US
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
aha. thanks.
 
  


Reply


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 02:22 PM
vim syntax highlighting problems. donniejones18 Linux - Software 7 04-16-2006 09:03 PM
Adding Syntax Highlighting to VIM TastyWheat Linux - Software 2 02-27-2004 04:37 AM
Java syntax highlighting in vim Phantomas Linux - Software 0 08-16-2003 05:34 AM
Vim syntax highlighting NSKL Linux - Software 2 11-09-2002 03:39 AM


All times are GMT -5. The time now is 09:05 PM.

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