tree-sitter-lua icon indicating copy to clipboard operation
tree-sitter-lua copied to clipboard

feat: update bindings

Open ObserverOfTime opened this issue 6 months ago • 2 comments

Closes #52

ObserverOfTime avatar May 09 '25 08:05 ObserverOfTime

tree-sitter test passes locally but fails in CI. :thinking:

 syntax highlighting:
    ✗ string.lua
      Failure - row: 29, column: 0, expected highlight 'string.escape', actual highlights: none.

ObserverOfTime avatar May 09 '25 08:05 ObserverOfTime

https://github.com/tree-sitter-grammars/tree-sitter-lua/blob/db16e76558122e834ee214c8dc755b4a3edc82a9/test/highlight/string.lua#L32

That's a bug in tree-sitter 0.25.3 with arrow tests that is already fixed on master (and the release branch).

clason avatar May 09 '25 14:05 clason

I should not have been so quick to merge this PR; the tree-sitter bug masked a real problem here with the bindings, see the test failure on #55. @ObserverOfTime can you please take a look and fix it?

clason avatar May 16 '25 17:05 clason

I'm guessing that's a node 24 bug.

ObserverOfTime avatar May 16 '25 18:05 ObserverOfTime