Eandrju / cellular-automaton.nvim

A useless plugin that might help you cope with stubbornly broken tests or overall lack of sense in life. It lets you execute aesthetically pleasing, cellular automaton animations based on the content of neovim buffer.
MIT License
1.89k stars 34 forks source link

feat!: remove dependency on nvim-treesitter #28

Closed mrcjkb closed 4 months ago

mrcjkb commented 4 months ago

nvim-treesitter is removing its API and has upstreamed most of it to core.

See also: https://github.com/nvim-treesitter/nvim-treesitter/issues/4767

This PR removes the dependency on nvim-treesitter, and instead uses Neovim's core API.

It seems like it only actually used nvim-treesitter to check for the presence of parsers (?).

This bumps the minimum required Neovim version to 0.9.

Eandrju commented 4 months ago

Thanks! I've tested it locally and it doesn't seem to catch that I'm missing javascript parser, but vim.treesitter.language.inspect() does. Thanks for raising this.