Loading ...
Sorry, an error occurred while loading the content.
 

lhaskell.vim syntax highlighting script

Expand Messages
  • Andrew Pimlott
    [I tried to send this before, but because it was cross-posted to haskell-cafe, I used the wrong from address. Nobody replied on haskell-cafe, so I request
    Message 1 of 3 , Aug 1, 2004
      [I tried to send this before, but because it was cross-posted to
      haskell-cafe, I used the wrong from address. Nobody replied on
      haskell-cafe, so I request that it be applied unless there are
      objections here.]

      haskell-cafe, you are listed as the maintainer of the vim haskell syntax
      highlighting script. :-)

      lhaskell.vim uses the tex.vim syntax script, which does "set
      iskeyword-=_". This makes editing haskell rather uncomfortable (eg, the
      '*' command doesn't work right). I don't know what breaks if you "set
      iskeyword+=_", but getting tex highlighting right is less important than
      haskell editing, so I suggest this patch.

      Andrew

      --- lhaskell.vim.orig 2004-07-29 16:48:39.000000000 -0700
      +++ lhaskell.vim 2004-07-29 16:50:16.000000000 -0700
      @@ -86,6 +86,8 @@
      runtime! syntax/tex.vim
      unlet b:current_syntax
      endif
      + " This messes up tex a bit, but is better for Haskell.
      + set isk+=_
      endif

      " Literate Haskell is Haskell in between text, so at least read Haskell
    Your message has been successfully submitted and would be delivered to recipients shortly.