sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating 28/7, Downloaded by 1514  Comments, bugs, improvements  Vim wiki

created by
Alex Efros
 
script type
syntax
 
description
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:
http://www.vim.org/scripts/script.php?script_id=4350
 

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: 3.81.184.170

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