sponsor Vim development Vim logo Vim Book Ad

myghty.vim : Syntax script for Myghty

 script karma  Rating 7/6, Downloaded by 556    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
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
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: 54.89.60.200

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo