sponsor Vim development Vim logo Vim Book Ad

mips.vim : Your standard MIPS syntax highlighting

 script karma  Rating 121/63, Downloaded by 3082  Comments, bugs, improvements  Vim wiki

created by
Alex Brick
 
script type
syntax
 
description
Frankly, I wasn't happy with the state of MIPS highlighting, so this script attempts to correct this.  It recognizes the entire set of MIPS instructions and directives, as well as all registers (be they aliased ($s0), directly numerical ($16), or an FP register ($f0)), correct MIPS comment style, and label declarations.

If you have any problems, I invite you to contact me and report them.  Enjoy!
 
install details
Just copy the script to your syntax directory.  On UNIX, this is ~/.vim/syntax/.  Note that filetype is not autodetected, so to enable the highlighting, you must run the command ":set syntax=mips".
 

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
mips.vim 1.0.1 2007-10-24 6.0 Alex Brick A minor fix to enable 6.x compatibility (noticed and patched by Jarmo Jaakkola), and a fix to hexadecimal numbers.
mips.vim 1.0 2007-10-18 6.0 Alex Brick Initial upload
ip used for rating: 18.188.40.207

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.
   
Vim at Github