aboutsummaryrefslogtreecommitdiffstats
path: root/queries/haskell
diff options
context:
space:
mode:
authorAnanda Umamil <zweimach@zweimach.org>2023-01-15 03:54:17 +0700
committerStephan Seitz <stephan.seitz@fau.de>2023-01-14 13:11:49 -0800
commit0b69c4ae52851b2ce789d3e7e1049db016bd0f2d (patch)
treee7e1d5659394e5007045cd3d1bbd8e7cc6af2730 /queries/haskell
parentrefactor(scala): update the Scala highlight queries (diff)
downloadnvim-treesitter-0b69c4ae52851b2ce789d3e7e1049db016bd0f2d.tar
nvim-treesitter-0b69c4ae52851b2ce789d3e7e1049db016bd0f2d.tar.gz
nvim-treesitter-0b69c4ae52851b2ce789d3e7e1049db016bd0f2d.tar.bz2
nvim-treesitter-0b69c4ae52851b2ce789d3e7e1049db016bd0f2d.tar.lz
nvim-treesitter-0b69c4ae52851b2ce789d3e7e1049db016bd0f2d.tar.xz
nvim-treesitter-0b69c4ae52851b2ce789d3e7e1049db016bd0f2d.tar.zst
nvim-treesitter-0b69c4ae52851b2ce789d3e7e1049db016bd0f2d.zip
highlights(haskell): special sigils and operators
Diffstat (limited to 'queries/haskell')
-rw-r--r--queries/haskell/highlights.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm
index f3cae5e50..cef00a55d 100644
--- a/queries/haskell/highlights.scm
+++ b/queries/haskell/highlights.scm
@@ -60,8 +60,12 @@
(type_operator)
(tycon_arrow)
(qualified_module) ; grabs the `.` (dot), ex: import System.IO
+ (qualified_type)
+ (qualified_variable)
(all_names)
(wildcard)
+ "."
+ ".."
"="
"|"
"::"
@@ -134,6 +138,7 @@
;; Types
(type) @type
+(type_star) @type
(type_variable) @type
(constructor) @constructor