From 9d51ba288ce7772d7db2aa4167269fd83833daf8 Mon Sep 17 00:00:00 2001 From: Ollie Charles Date: Thu, 30 Mar 2023 16:48:55 +0000 Subject: [PATCH] Update tree-sitter-haskell --- languages.toml | 2 +- runtime/queries/haskell/textobjects.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/languages.toml b/languages.toml index 5afd36c9cbbd..27ba665200fc 100644 --- a/languages.toml +++ b/languages.toml @@ -868,7 +868,7 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "haskell" -source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "b6ec26f181dd059eedd506fa5fbeae1b8e5556c8" } +source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "98fc7f59049aeb713ab9b72a8ff25dcaaef81087" } [[language]] name = "purescript" diff --git a/runtime/queries/haskell/textobjects.scm b/runtime/queries/haskell/textobjects.scm index 9870dc4a4128..457fba1a791e 100644 --- a/runtime/queries/haskell/textobjects.scm +++ b/runtime/queries/haskell/textobjects.scm @@ -2,7 +2,7 @@ [ (adt) - (decl_type) + (type_alias) (newtype) ] @class.around