Language modes can be imported from a TextMate/Sublime Text Bundle or made based on one of the existing language modes.
For more information on creating language modes see the language mode guide
mymode.js and add the following line as it's first line.
/* caption: <Language Name>; extensions: <Comma Separated List of File Extensions> */
A bundle can contain one or more language modes. Each mode must be stored in a file called
<name>.js and placed in the
modes directory. Additional files such as highlight rules should be named
<name>_<type>.js where type could be
Suppose your mode is called
Updated less than a minute ago