aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/haskell
diff options
context:
space:
mode:
authorMarc Jakobi <marc.jakobi@tiko.energy>2023-11-19 01:02:29 +0100
committerGitHub <noreply@github.com>2023-11-18 19:02:29 -0500
commit5240574bcbd5e3ad793b96b3766693c2bc5c86a9 (patch)
tree4b9bb8f4cfb2c061ef14d2761be9e5f47c5eb707 /tests/query/highlights/haskell
parentUpdate parsers: hcl, terraform, wing (diff)
downloadnvim-treesitter-5240574bcbd5e3ad793b96b3766693c2bc5c86a9.tar
nvim-treesitter-5240574bcbd5e3ad793b96b3766693c2bc5c86a9.tar.gz
nvim-treesitter-5240574bcbd5e3ad793b96b3766693c2bc5c86a9.tar.bz2
nvim-treesitter-5240574bcbd5e3ad793b96b3766693c2bc5c86a9.tar.lz
nvim-treesitter-5240574bcbd5e3ad793b96b3766693c2bc5c86a9.tar.xz
nvim-treesitter-5240574bcbd5e3ad793b96b3766693c2bc5c86a9.tar.zst
nvim-treesitter-5240574bcbd5e3ad793b96b3766693c2bc5c86a9.zip
feat(haskell): tweak highlights
* add cases for `qualified_variable` * add function defined in terms of composition
Diffstat (limited to 'tests/query/highlights/haskell')
-rw-r--r--tests/query/highlights/haskell/test.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/query/highlights/haskell/test.hs b/tests/query/highlights/haskell/test.hs
index cd5db435e..bf7e939a0 100644
--- a/tests/query/highlights/haskell/test.hs
+++ b/tests/query/highlights/haskell/test.hs
@@ -171,6 +171,8 @@ someIOaction = do
gunc x y = func x $ y + 7
-- ^ @variable
-- ^ @variable
+ valueFromList = HashSet.fromList []
+ -- ^ @variable
when foo $ putStrLn $ T.showt =<< bar
-- ^ @function.call
-- ^ @variable
@@ -325,3 +327,6 @@ lambdaAlias _ _ _ = undefined
spec :: Spec
spec = describe "test ns" $ it "test case" pending
-- ^ @variable
+
+composed = f . g
+-- ^ @function