Home Download Buy Blog Forum Support

Pull request: Haskell syntax fix w/patch

Pull request: Haskell syntax fix w/patch

Postby Fumon on Fri Jul 13, 2012 7:45 pm


The current Haskell.tmLanguage highlighting incorrectly renders certain files including:
https://github.com/colah/ImplicitCAD/bl ... mitives.hs

The problem lies in line 27 onwards with the string module appearing in the middle of a name.

Please find enclosed a patch for the above bug.

Code: Select all
--- Haskell.tmLanguage  2012-07-13 15:35:34.725448315 -0400
+++ Haskell.tmLanguage_new  2012-07-13 15:36:39.682114326 -0400
@@ -47,7 +47,7 @@
-     <string>(module)</string>
+     <string>\b(module)\b</string>
@@ -57,7 +57,7 @@
-     <string>(where)</string>
+     <string>\b(where)\b</string>

This issue is preventing at least one of my colleagues from adopting Sublime as his preferred text editor.

Thank You
Posts: 1
Joined: Fri Jul 13, 2012 7:38 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 29 guests