Tip 24 Printable Monobook Previous Next
created 2001 · complexity intermediate · author benji · version 6.0
Here are some pointers to the Vim documentation on syntax highlighting.
- I want *.foo files to be highlighted like HTML files: :help new-filetype
- I want to define a syntax file for *.bar files. Read the above and also: :help mysyntaxfile
- I want to make a few changes to the existing syntax highlighting: :help mysyntaxfile-add
- I want to change some of the colors from their defaults. Again, read :help mysyntaxfile