From deab323c28dfcc12f94a2e0c96a2a0635a0b6748 Mon Sep 17 00:00:00 2001 From: Ollie Charles Date: Wed, 12 Apr 2023 15:35:01 +0100 Subject: [PATCH] Update tree-sitter-haskell (#6317) --- 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 e7c374992..22c1842e9 100644 --- a/languages.toml +++ b/languages.toml @@ -882,7 +882,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 9870dc4a4..457fba1a7 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