sponsor Vim development Vim logo Vim Book Ad

tiger.vim : Tiger Vim Indent File

 script karma  Rating 3/2, Downloaded by 753  Comments, bugs, improvements  Vim wiki

created by
Florent Thoumie
 
script type
indent
 
description
Tiger is a language introduced by andrew Appel in his book(s) "Modern Compiler Implementation in {ML,C,Java}."
For further information, go to : "www.cs.princeton.edu/~appel/modern"

This file gives you a "correct" indentation when working on Tiger files.
It is to be used with the associated syntax file.

Look at this screenshot to see which coding style is actually "supported" :
"http://www.xbsd.org/~flz/pics/shot-tiger.jpg";
 
install details
Just source the file when opening a *.tig file.
Create an autocmd like this one :
au BufNewFile,BufRead *.tig so ~/.vim/indent/tiger.vim
 

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
tiger.vim 0.1 2003-01-19 6.0 Florent Thoumie Initial upload
ip used for rating: 35.173.233.176

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