Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

How do I get vim to show my mistakes in color ?


I as being helped by a fellow geek and he used an argument with vim to show missing  second qoutes and other syntax rules.  

It was pretty cool.
0
bitmechanic
Asked:
bitmechanic
  • 2
  • 2
1 Solution
 
nedvisCommented:
Vim Color Editor HOW-TO (Vi Improved with syntax color highlighting)
http://www.linuxjunkies.org/html/Vim-HOWTO.html
0
 
bitmechanicAuthor Commented:
Great tutorial but it does not point out what I want.  

It just happens to come out in color so I can not search for "color" .

0
 
pjedmondCommented:
Normally this is the default if you type vim rather than vi to start this program up. The syntax highlighting is by default associated with the filename ending. For more information:

In vim:

:help syntax

Will display all you need to know...and probably more:)

HTH:)

0
 
pjedmondCommented:
You can look at the syntax rules available with:

:syntax

And can be activated with:

:syntax enable


etc etc (all viewable within the :help syntax file)

HTH:)
0
 
bitmechanicAuthor Commented:
You rock!!!

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now