1 |
maillog: 20/05/2005-18:01:04(+0900): Георги Георгиев types |
2 |
> maillog: 20/05/2005-07:22:15(+0100): Ciaran McCreesh types |
3 |
> > Hrm, that's a vim thing (I'm using a vim script to do the highlighting |
4 |
> > at compile time, it's not manual). If someone enjoys pain they could |
5 |
> > have a go at making vim's automake highlighting smarter... Don't think |
6 |
> > I'm brave enough to touch that one myself. |
7 |
> |
8 |
> The 2html.vim that comes with vim seems to work fine here. Tried both 7α |
9 |
> and 6.3. The HTML is ugly, but at least it's properly highlighted: |
10 |
> |
11 |
> http://gg3.net/~chutz/gentoo/highlight/ |
12 |
> |
13 |
> Of course, you need to "set ft=automake", which is different than |
14 |
> ft=make. ;) |
15 |
> |
16 |
> $ vim -c 'set ft=automake' Makefile.in -c TOhtml -c wq -c qa |
17 |
|
18 |
Taking back my words about the ugly HTML. I just met html_use_css. |
19 |
|
20 |
vim -c 'set ft=automake' -c 'let use_xhtml=1' -c 'let html_use_css=1' \ |
21 |
-c TOhtml -c wq -c qa Makefile.in |
22 |
|
23 |
-- |
24 |
( Georgi Georgiev ( heavy, adj.: Seduced by the chocolate side ( |
25 |
) chutz@×××.net ) of the force. ) |
26 |
( +81(90)2877-8845 ( ( |