sponsor Vim development Vim logo Vim Book Ad

mkfile syntax : mk (OS Inferno/Plan9 make tool) syntax highlight

 script karma  Rating 16/4, Downloaded by 587  Comments, bugs, improvements  Vim wiki

created by
Alex Efros
script type
Syntax highlight for mk's mkfiles (used in OS Inferno/Plan9).
install details
Copy downloaded mkfile.vim to ~/.vim/syntax/

To autodetect filetype add this to ~/.vimrc or .vim/ftdetect/mkfile.vim:
autocmd BufNewFile,BufRead mk*          if expand("<afile>") !~ '\.' | setf mkfile | endif

Since version 1.10 it depends on infsh.vim (version 1.10 or higher), so you need to install it too:

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
mkfile.vim 1.10 2012-12-09 7.0 Alex Efros include host os's and inferno's sh syntaxes
add heuristic to detect which sh syntax use to highlight recipe
mkfile.vim 1.0 2012-12-04 7.0 Alex Efros Initial upload
ip used for rating:

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.
OSDN.net Logo