From: ahoward Date: 2002-12-11T14:16:44+09:00 Subject: Re: Using amrita for generating static content? On Wed, 11 Dec 2002, Tim Bates wrote: > How did you syntax-highlight this page? Could it be done dynamically? I have a > site written with Ruby that I want to display the (current) sources for > without having to manually update anything. for f in *.rb; do vim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" $f; done _may_ work dynamically (does for me). assuming a current version of vim/gvim. supposedly it works better with gvim instead of vim - but both work fine for me... try gvim :help 2html for more info. (g)vim never stop amazing me... -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ==================================== SIGSIG -- signature too long (core dumped)