Re: [Haskell] vim syntax files for GHC-style .lhs, .hs + cpp

2004-02-09 Thread Ian Lynagh
On Mon, Feb 09, 2004 at 12:56:43PM +1100, Donald Bruce Stewart wrote:
 Hey all,
 
  -
 Vim syntax highlighting for GHC-style .lhs and .hs + cpp
  -
 
 Rather than let this just sit on my hd, I'm making them available.
 
 ftp://ftp.cse.unsw.edu.au/pub/users/dons/vim/
 
 These are vim syntax files for the tex-style (not the bird-feet style)
 literate Haskell used in much of GHC, and for normal Haskell with -cpp
 preprocessor sprinkles. The directories should go in your ~/.vim/
 folder.

I've put mine here: http://urchin.cipe/~ian/vim/

They also use a simple heuristic to guess whether the non-Haskell stuff
should be treated as TeX or just text, and cope with the Bird style. We
really should send a best solution off to the vim guys to replace what's
currently there.


Thanks
Ian

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] vim syntax files for GHC-style .lhs, .hs + cpp

2004-02-09 Thread Ian Lynagh
On Mon, Feb 09, 2004 at 04:20:59PM +, Ian Lynagh wrote:
 
 I've put mine here: http://urchin.cipe/~ian/vim/

Or, more usefully, http://urchin.earth.li/~ian/vim/


Ian

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] vim syntax files for GHC-style .lhs, .hs + cpp

2004-02-09 Thread Donald Bruce Stewart
igloo:
 On Mon, Feb 09, 2004 at 12:56:43PM +1100, Donald Bruce Stewart wrote:
  Hey all,
  
   -
  Vim syntax highlighting for GHC-style .lhs and .hs + cpp
   -
  
  Rather than let this just sit on my hd, I'm making them available.
  
  ftp://ftp.cse.unsw.edu.au/pub/users/dons/vim/
  
  These are vim syntax files for the tex-style (not the bird-feet style)
  literate Haskell used in much of GHC, and for normal Haskell with -cpp
  preprocessor sprinkles. The directories should go in your ~/.vim/
  folder.
 
 I've put mine here: http://urchin.cipe/~ian/vim/
 
 They also use a simple heuristic to guess whether the non-Haskell stuff
 should be treated as TeX or just text, and cope with the Bird style. We
 really should send a best solution off to the vim guys to replace what's
 currently there.

Yes. I propose we combine them.

I'm too busy at the moment, but if someone out there wants to combine
the two, to create an uber-haskell.vim syntax highlighting that works
for .hs, .lhs (both tex and bird), .hsc and all with -cpp annotations,
this should be quite feasible, with Ian's and my code as a start.

They should work with anything you find in $fptools.

-- Don
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell