Associationg vim syntax with file extension -


How can I tell to use a certain syntax definition with a new file extension? Suppose I have files that are some kind of XML, but there is a separate extension, how do I tell Vim that it should use syntax = xml by default for the new type?

Any help appreciated.


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

mysql - Can mysql_pconnect be called multiple times in one php page? -