tree-sitter / tree-sitter-haskell

Haskell grammar for tree-sitter.
MIT License
152 stars 36 forks source link

Improve highlights query for functions #73

Closed zweimach closed 2 years ago

zweimach commented 2 years ago

I moved the queries for function declaration and type signature after the query for variable. I don't know why it didn't work before.

Before After
image image
tek commented 2 years ago

the highlights are pretty half-assed because I use nvim-treesitter, which provides its own queries, so I didn't spend a lot of time on it :)