-
Notifications
You must be signed in to change notification settings - Fork 30
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
Introduction of a simple plugin for nvim #57
Conversation
Signed-off-by: aserowy <[email protected]>
Signed-off-by: aserowy <[email protected]>
PS: The installation in lazy is dead simple: just adding |
Part of me is saying that it would be better to have it in a separate repository. But since tree sitter is intended primarily for editors, maybe it makes sense to have editor integrations here as well? |
Long term should be a direct integration into the treesitter repo imho. I created the pr to enable easy nvim support short term. If your goal is to not integrate I would go the seperation of concerns route and create a repo for each editor. Thus, no plugin integration conflicts with others. |
Could you also update this markdown with an example based on lazy.nvim? I think it's a great idea. I just don't know how to use |
Signed-off-by: aserowy <[email protected]>
thanks for updating the doc too. i think this makes things better. |
Signed-off-by: aserowy <[email protected]>
FYI - This PR broke |
Introduction of a simple plugin for nvim
Hi,
for easier integration into nvim, i added a plugin (tested with folke/lazy.nvim) to the repository. To enable automatic resolution of queries, i had to move them to
queries/nu
.The plugin sets the comment string, adds filetype detection and adds the parser to treesitters parser config. If you do not want to add a program specific plugin to this repository, please let me know. Thus, i ll host a seperated one for lazy devs like me :D
Kind regards
Alexander