-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
- Multi line pipe blocks support - wrapped tags: div: div Foo - inline JS (non Multiline) - Added vue-attributes - refac rules
034d4d1
to
166eb2e
Compare
bindings/*, parser.c must be checked in, too, otherwise GH Actions cannot build
Added:
|
Hey, thanks for sharing! I'll gladly take your contribution, however I'd like to note that I'm not actively maintaining the code; I really just made this as a one-off to play around with neovims treesitter integration. One thing that damped my motivation was how the vue-parser at the time handled the html-markups; I ended up using the html parser for vue files and used injections instead. May I ask how you went about that? Or does the vue parser now better accomodate different languages? Also, I see you've replaced the |
I also forked the Vue-treesitter and submitted a PR which changes the content of the template block to "raw text" if there is any kind of attribute. Unfortunately, no response from the maintainer yet. I am currently running that fork of vue-treesitter + my fork/pr + a fork from my of nvim with the pug config without any problems and happily coding vue + pug files :) If the vue-treesitter would be merged, that would open up the merge for the nvim-treesitter config and it could finally land in mainline nvim-treesitter... Regarding package-lock, no specific reasoning, I usually use yarn(1) all the time. I could change it, but if you don't intend to maintain the package anyhow, I could also keep my fork. |
I think the main change is checking for lexer->lookahead before doing lexer->get_column(lexer) since it was segfaulting in exactly that function.
fix: try to avoid segfaults in scanner.cc
Docs: reword readme to be more inclusive of non-angular developers
Further enhanced the syntax support
Fix Angular two way bindings
Recently, I've switched to treesitter with Neovim, but found out, that Pug support is not included, yet. Then I found for repo which is a good start!
I added the following syntax that i use regularly: