myghty.vim : Syntax script for Myghty
| script karma
Downloaded by 573
Comments, bugs, improvements
script versions (upload new version)
|This is a syntax script for Myghty (Python embedded in HTML). It was created from mason.vim just by replacing all "perl" occurences by "python".
Then slight modifications in regular expressions were introduced to match differences between Mason and Myghty syntax.
Seems to work well.
|1. Put the script in ~/.vim/syntax/ directory.
2. To use it manually, just type a command:
3. To have it loaded automatically when editing *.myt files, add the following lines to your ~/.vimrc file:
au BufNewFile,BufRead *.myt setf myghty
filetype plugin on
Click on the package to download.
ip used for rating: 126.96.36.199
||I've made few modifications in regular expressions to match the differences between Myghty and Mason syntax (this file is based on mason.vim).