myghty.vim : Syntax script for Myghty
script karma |
Rating 7/6,
Downloaded by 1124 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Michal Salaban |
|
script type |
syntax |
|
description |
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. |
|
install details |
1. Put the script in ~/.vim/syntax/ directory.
2. To use it manually, just type a command:
:setf myghty
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 |
|
script versions (upload new version)
Click on the package to download.
myghty.vim |
1.1 |
2006-07-07 |
6.0 |
Michal Salaban |
I've made few modifications in regular expressions to match the differences between Myghty and Mason syntax (this file is based on mason.vim). |
myghty.vim |
1.0 |
2006-06-27 |
6.0 |
Michal Salaban |
Initial upload |
ip used for rating: 18.119.141.157
|