sponsor Vim development Vim logo Vim Book Ad

nw.vim : Simple syntax highlighting for NOWEB files.

 script karma  Rating 4/1, Downloaded by 1040  Comments, bugs, improvements  Vim wiki

created by
Dirk Bächle
 
script type
syntax
 
description
"nw.vim" provides a simple syntax highlighting for NOWEB source files.

NOWEB is a collection of tools for "Literate Programming". Unlike WEB or CWEB it is not bound to a specific programming language like PASCAL or C.

For more informations about NOWEB, the sources or binary distributions
have a look at

http://www.eecs.harvard.edu/~nr/noweb

For informations about "Literate Programming" in general

http://www.literateprogramming.com

could be a place to start.
 
install details
Follow the instructions of "new-filetype" in the
VIM manual, to edit/create your local version of
`filetype.vim'. The line for NOWEB files should
read

  au! BufRead,BufNewFile *.nw   setfiletype nw

Copy `nw.vim' to your local syntax file directory
(see "mysyntaxfile" in the VIM manual) and add
a copy of `tex.vim' from your VIM installation,
such that `nw.vim' can find it.

That's it! (Remember to restart 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
nw.vim 1.1 2002-10-31 6.0 Dirk Bächle Bug fixed: Corrected `current_syntax = "noweb"' to `current_syntax = "nw"'
nw.vim 1.0 2002-10-29 6.0 Dirk Bächle Initial upload
ip used for rating: 18.221.129.19

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