-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
module: add :tools tree-sitter #5401
Conversation
cc: @iyefrat |
Don't forget to add an entry to modules.org |
And a |
3b532f2
to
6a0a01c
Compare
Would be nice to list the new textobject keybinds in README.org too |
a lurker really keen to see this and LSP work together nicely. Would it make sense to disable lsp semantic highlighting with |
1d201b6
to
5f450a5
Compare
Yeah that would make sense. Ill look into it EDIT: it seems to be disabled by default. Ill see if enabling it causes any problems and add in a check if it does |
5f0b993
to
46c9c09
Compare
@jeetelongname Just wanted to give you a heads up on the name change of the |
@meain I have been following that and am thankful for the change! thanks for this! |
6347e98
to
8ce1653
Compare
While its a good tag line its not /witty/ I have come up with “Syntax and Parsing
sitting in a tree…” but I am yet to add it to the init.example and modules.org
as I want that to be one of the last commits a sign off if you will
Regards,
– *Jeetaditya Chatterjee*
/Sent using my text editor/
|
to add to my lower comment it not only does syntax highlighting but a bunch of
other stuff as well (even if those come from plugins)
Regards,
– *Jeetaditya Chatterjee*
/Sent using my text editor/
|
:ui tree-sitter
module
65e1551
to
824a794
Compare
adf2d73
to
84d4701
Compare
That should be the final thing, Lets see, I hope to get this merged in the next couple of days / weeks. thanks again to everyone who has helped and commented. Your awesome! |
Move the conditional bindings from `i` to `v` this is to reflect the text object, the thinking being if users have to learn one anti mnemonic then it should reflect all cases to make it easier to swallow.
0bf54fc
to
349247f
Compare
On a language level
langs being: - elixir - nix - zig
And done! Great work @jeetelongname. And thank you to everyone for your help shaping this module with your input and reviews (and putting up with my delays). I'm happy with how it turned out, and look forward to putting it through its paces! |
Huge thanks to everyone involved! |
this module need some improvement with html tree-sitter not working because doom emacs uses web-mode by default to edit html files tree-sitter not enabled until you change to html-mode and i think this well help i was use before doom migrate to tree-sitter |
tsx mode should be supported (and I have not heard any complaints in that regard). The reason I did not enable it for web mode was because while the same method would work, its a worse experience overall imo, both enabling ts in web-mode or defaulting to html-mode that is. It should be trivial to switch over though. |
i said i was use this hack and maybe the experience not perfect because tree-sitter not support injection so you do not get highlight for style or script tag but but i love the coloring from tree-sitter and it was the reason number one to use neovim back, but it think about writing new package to support this work |
This PR adds tree sitter support to doom.
currently it adds:
With plans to add:
TSplayground
in neovim (package needs to be found or written)more information on module development is available on this discourse post
PR's and patches are welcome as well as pointers and suggestions! feel free to ping me on discord if you have any questions.
related issues: