tree-sitter / tree-sitter-haskell

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

Don't consume trailing newlines as part of layouts (#74) #75

Closed tek closed 2 years ago

tek commented 2 years ago

I'm a bit surprised this just works. However, one test failed after the fix, which is the one that uses \r instead of \n. Solved it by adding \r to the extras. This doesn't seem right to me, can you take a look and check if you can spot anything wrong here, @414owen ?

cc @wenkokke

PS finally used those edit tests for something, pretty neat :relaxed:

tek commented 2 years ago

ah well. if it works, it works.