Wednesday, August 22, 2012

Re: syntax highlighting and MacVim

On Tuesday, August 21, 2012 7:44:06 PM UTC+12, eNG1Ne wrote:
> Where should I store the highlighting file to have it triggered by the file extension?
Once the filetype is recognized, ~/.vim/syntax is a place to put the syntax file (assuming ~/.vim is in your runtimepath option).

To set the file type, see

:help new-filetype

You can't just drop a file in a directory; I imagine that would be unwieldy for some uses.

Regards, John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment