[Haskell-cafe] Fwd: Vim syntax file typo

Matthew Fernandez matthew.fernandez at gmail.com
Fri Jun 2 02:08:34 UTC 2017


Hi Bram,

Forwarding the below trivial fix, as I've had no response from the Haskell list. If anyone on haskell-cafe wants to 
assert maintainership over this file, feel free to speak up.

Thanks,
Matt


-------- Forwarded Message --------
Subject: Vim syntax file typo
Date: Thu, 4 May 2017 17:56:36 -0700
From: Matthew Fernandez <matthew.fernandez at gmail.com>
To: Haskell Cafe <haskell-cafe at haskell.org>

Hello Haskell Cafe,

The attached patch fixes what looks to be a typo in a comment in the Haskell Vim syntax file. Pretty trivial, but I'm 
mailing it to this list as it's listed as the maintainer of the file and I believe that's the Vim policy. Please let me 
know if there's somewhere more appropriate I should send this or if you'd prefer me to just submit it as a pull request 
on the Vim Github.

Thanks,
Matt

----

commit 9e14e74813e0170832a841b8aed48d11f9e98d09 (HEAD, c332e5d9-0406-4541-a4ae-afeeef835327)
Author: Matthew Fernandez <matthew.fernandez at gmail.com>
Date:   Thu May 4 17:48:29 2017 -0700

     fix trivial comment typo in Haskell syntax

diff --git runtime/syntax/haskell.vim runtime/syntax/haskell.vim
index 11f4c35..0cda784 100644
--- runtime/syntax/haskell.vim
+++ runtime/syntax/haskell.vim
@@ -62,7 +62,7 @@ syn match   hsCharacter		"^'\([^\\]\|\\[^']\+\|\\'\)'" contains=hsSpecialChar,hs
  syn match   hsNumber		"\<[0-9]\+\>\|\<0[xX][0-9a-fA-F]\+\>\|\<0[oO][0-7]\+\>"
  syn match   hsFloat		"\<[0-9]\+\.[0-9]\+\([eE][-+]\=[0-9]\+\)\=\>"

-" Keyword definitions. These must be patters instead of keywords
+" Keyword definitions. These must be patterns instead of keywords
  " because otherwise they would match as keywords at the start of a
  " "literate" comment (see lhs.vim).
  syn match hsModule		"\<module\>"



More information about the Haskell-Cafe mailing list