List,

How can I include vim settings in the files I'm editing? For example, if system wide I have syntax highlighting disabled but I want to enable it just for one particular file. For c code I'd like to be able to include something like this:

/*
* ?:syntax on
*/

It would have to always always be commented obviously, and the '?:' would trigger reading those lines as vim options.

Any ideas if this is somehow supported by default or how to implement it?

Thanks.


Reply via email to