Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

## Syntaxes

- Fix Haskell highlighting for operators that start with double dashes, see #3707 (@imwyvern)
- Add shebang-based detection for Tcl (`tclsh`, `wish`) and Expect (`expect`) scripts, see #3647 (@mvanhorn)
- Change the URL of Zig submodule from GitHub to Codeberg, see #3519 (@sorairolake)
- Don't color strings inside CSV files, to make it easier to tell which column they belong to, see #3521 (@keith-hall)
Expand Down
13 changes: 13 additions & 0 deletions assets/patches/Haskell.sublime-syntax.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git syntaxes/01_Packages/Haskell/Haskell.sublime-syntax syntaxes/01_Packages/Haskell/Haskell.sublime-syntax
index e45d6734..264e528a 100644
--- syntaxes/01_Packages/Haskell/Haskell.sublime-syntax
+++ syntaxes/01_Packages/Haskell/Haskell.sublime-syntax
@@ -199,7 +199,7 @@ contexts:
scope: punctuation.definition.comment.end.haskell
pop: true
comments:
- - match: '--'
+ - match: '--+(?=$|[^|!%$?~+:\-.=</>\\])'
scope: punctuation.definition.comment.haskell
push:
- meta_scope: comment.line.double-dash.haskell