Vim syntax file typo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Vim syntax file typo

Matthew Fernandez
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


_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.

vim-haskell-typo.patch (934 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Fwd: Vim syntax file typo

Matthew Fernandez
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 <[hidden email]>
To: Haskell Cafe <[hidden email]>

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 <[hidden email]>
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\>"

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Loading...