generated from nvim-treesitter/module-template
-
Notifications
You must be signed in to change notification settings - Fork 22
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
offer buffer-local and global runtime config #77
Comments
Note that the module system in nvim-treesitter will soon disappear, so it's not a good idea to try to integrate with it.. |
matu3ba
changed the title
offer buffer-local runtime config xor nvim-treesitter.configs setup integration
offer buffer-local and global runtime config ~~xor nvim-treesitter.configs setup integration~~
May 17, 2023
matu3ba
changed the title
offer buffer-local and global runtime config ~~xor nvim-treesitter.configs setup integration~~
offer buffer-local and global runtime config
May 17, 2023
Thanks, I did adjust the issue. |
thanks for filing this! so it seems we shouldn’t do it that way, but i can
also provide a disable option with a table value (and potentially
correspondly an enable option with table value). would that be preferred?
…On Wed, May 17, 2023 at 5:16 AM Benoit de Chezelles < ***@***.***> wrote:
Note that the module system in nvim-treesitter will soon disappear, so
it's not a good idea to try to integrate with it..
Ref: nvim-treesitter/nvim-treesitter#4767
<nvim-treesitter/nvim-treesitter#4767>
—
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSBU2KZ24C45NXDFEO4H7TXGS6TXANCNFSM6AAAAAAYE7YQTQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I leave that to you as maintainer and code owner. ;-) |
what do you mean by buffer-local? You could have a filetype-specific autocommand, but I don't see how I could make my plugin buffer-local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of having to use
I would prefer
Justification:
nvim gcc/c-family/c-common.cc
from git://gcc.gnu.org/git/gcc.git freezes editor due to treesitter and generally one must be able to workaround not well written parsers via run-time opt-in until nvim-treesitter can handle those cases of treesitter misbehaving.The user could hack around via checking file types, but that is a not good user experience.
The text was updated successfully, but these errors were encountered: