Akuli
Akuli
For now, you can use https://github.com/Akuli/py-tree-sitter-builds which installs `tree_sitter` and `tree_sitter_languages` without requiring a C compiler.
I think a good next step would be including wheels for the `tree_sitter` module, but not the language binaries (currently `tree_sitter_languages`), for a couple reasons: - It is not needed...
> I'm not familiar with cibuildwheel This is more of a thing with the tests than with cibuildwheel. The tests use `Language.build_library()` which looks at the modified time to check...
It is working: https://test.pypi.org/project/tree-sitter-test/
Ready for review!
Also affects large sql dumps from `mysqldump`
https://user-images.githubusercontent.com/18505570/130614439-dd24eb89-56a2-4a1f-b5b5-7dbed5f9c79b.mp4 As you can see, as I'm holding down Ctrl+Z, it freezes for a few seconds until it actually gets all changes undone. This might be caused by the change...
Seems to be the new highlighter. Edited a bunch of text files and asymptote files today (both with pygments), no memory usage problems.
Next time this happens, I will try running `gc.collect()` in porcupine debug prompt. It seems that without an explicit `gc.collect()`, old tabs are sometimes deleted right away and sometimes after...
`gc.collect()` doesn't seem to do anything. Next step would probably be making a script that reproduces the leak by e.g. typing code into porcupine