Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treesitter support planned? #195

Open
inventionate opened this issue Jun 8, 2021 · 3 comments
Open

Treesitter support planned? #195

inventionate opened this issue Jun 8, 2021 · 3 comments

Comments

@inventionate
Copy link

I am currently experimenting with the new Treesitter that will be part of the next Neovim release. Unfortunately, syntax-based scopes don't seem to work with it. For example, when I use these settings, they work fine with classic syntax highlighting. However, as soon as I activate Treesitter, no more highlighting groups are recognised. Is there a way to improve this? Thank you in advance.

let g:mucomplete#chains['php'] = {
            \ 'default' : ['omni'],
            \ '.*string.*' : ['path', 'keyn'],
            \ }
@inventionate
Copy link
Author

I think the problem is that Treesitter does not support synID() and instead offers :TSHighlightsUnderCursor (nvim-treesitter/nvim-treesitter#1228). I'll play with it a bit.

@lifepillar
Copy link
Owner

I am not using TreeSitter, so there is currently no plan to support it. Depending on how much spare time I have (currently not much), I may look into that, but I cannot provide any guarantee or an ETA, I'm afraid.

@inventionate
Copy link
Author

All right and thanks anyway for the great plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants