JoosepAlviste / nvim-ts-context-commentstring

Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
MIT License
1.13k stars 34 forks source link

Does this work well when nvim-treesitter 1.0 is out? #72

Closed towry closed 11 months ago

towry commented 1 year ago

Minimal reproducible full config

https://github.com/nvim-treesitter/nvim-treesitter/tree/main

Description

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

Steps to reproduce

None

Expected behavior

None

Actual behavior

None

Additional context

None

towry commented 1 year ago

Seems not.

JoosepAlviste commented 1 year ago

Hey! I haven't tested this on nvim-treesitter 1.0 yet. I'll try to take some time at some point to go through the changes and to see how difficult it would be to support it.

Thanks for bringing this to my attention!

JoosepAlviste commented 11 months ago

Hey @towry! There is now a setup function exported from this module, which can be used with nvim-treesitter >= 1.0. Please see the readme for details and try it out!

towry commented 11 months ago

Hi, thanks for the great work, just test it with nvim-treesitter#main, works well 👍