aboutsummaryrefslogtreecommitdiffstats
path: root/queries/haskell
diff options
context:
space:
mode:
author再生花 <hoangtun0810@gmail.com>2024-02-23 17:42:01 +0900
committerGitHub <noreply@github.com>2024-02-23 10:42:01 +0200
commit31641d72a4c33536e9d5fc8f829d2ba84211af8a (patch)
tree65d4edd50b87eacb993dab1fd27347d6686d3c0e /queries/haskell
parentfeat(faust): better highlighting of function calls, built-in variables, and m... (diff)
downloadnvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.gz
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.bz2
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.lz
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.xz
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.zst
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.zip
feat(format-scripts): linewrap predicates
"format-ignore".kick()
Diffstat (limited to 'queries/haskell')
-rw-r--r--queries/haskell/highlights.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm
index fed093197..33d9d2950 100644
--- a/queries/haskell/highlights.scm
+++ b/queries/haskell/highlights.scm
@@ -586,12 +586,19 @@
; ----------------------------------------------------------------------------
; Exceptions/error handling
((variable) @keyword.exception
- (#any-of? @keyword.exception "error" "undefined" "try" "tryJust" "tryAny" "catch" "catches" "catchJust" "handle" "handleJust" "throw" "throwIO" "throwTo" "throwError" "ioError" "mask" "mask_" "uninterruptibleMask" "uninterruptibleMask_" "bracket" "bracket_" "bracketOnErrorSource" "finally" "fail" "onException" "expectationFailure"))
+ (#any-of? @keyword.exception
+ "error" "undefined" "try" "tryJust" "tryAny" "catch" "catches" "catchJust" "handle" "handleJust"
+ "throw" "throwIO" "throwTo" "throwError" "ioError" "mask" "mask_" "uninterruptibleMask"
+ "uninterruptibleMask_" "bracket" "bracket_" "bracketOnErrorSource" "finally" "fail"
+ "onException" "expectationFailure"))
; ----------------------------------------------------------------------------
; Debugging
((variable) @keyword.debug
- (#any-of? @keyword.debug "trace" "traceId" "traceShow" "traceShowId" "traceWith" "traceShowWith" "traceStack" "traceIO" "traceM" "traceShowM" "traceEvent" "traceEventWith" "traceEventIO" "flushEventLog" "traceMarker" "traceMarkerIO"))
+ (#any-of? @keyword.debug
+ "trace" "traceId" "traceShow" "traceShowId" "traceWith" "traceShowWith" "traceStack" "traceIO"
+ "traceM" "traceShowM" "traceEvent" "traceEventWith" "traceEventIO" "flushEventLog" "traceMarker"
+ "traceMarkerIO"))
; ----------------------------------------------------------------------------
; Fields