diff runtime/syntax/lhaskell.vim @ 22:cc049b00ee70

updated for version 7.0014
author vimboss
date Thu, 02 Sep 2004 19:12:26 +0000
parents 3fc0f57ecb91
children 0b796e045c42
line wrap: on
line diff
--- a/runtime/syntax/lhaskell.vim
+++ b/runtime/syntax/lhaskell.vim
@@ -4,7 +4,7 @@
 "			\begin{code} \end{code} blocks
 " Maintainer:		Haskell Cafe mailinglist <haskell-cafe@haskell.org>
 " Original Author:	Arthur van Leeuwen <arthurvl@cs.uu.nl>
-" Last Change:		2004 May 16
+" Last Change:		2004 Aug 31
 " Version:		1.01
 "
 " Thanks to Ian Lynagh for thoughtful comments on initial versions and
@@ -82,9 +82,12 @@ endif
 if b:lhs_markup == "tex"
     if version < 600
 	source <sfile>:p:h/tex.vim
+	set isk+=_
     else
 	runtime! syntax/tex.vim
 	unlet b:current_syntax
+	" Tex.vim removes "_" from 'iskeyword', but we need it for Haskell.
+	setlocal isk+=_
     endif
 endif