Commit graph

12 commits

Author SHA1 Message Date
Cyril Mizzi
94fa0d3189 fix(vue.indents): add support for template_element 2021-11-11 21:00:33 -05:00
Cyril Mizzi
8d6c2b0044 fix: define indents.scm for html_tags and inherits html and vue from this file 2021-11-11 21:00:33 -05:00
Cyril Mizzi
ce866ecc2f feat(vue): add indents.scm file
There's no indentation file for Vue. This implementation is based on the HTML indentation file with a minor support for the `template_element` tag. As JS is bind with the JS Tree-sitter, the indentation is already fine.
2021-11-11 21:00:33 -05:00
Joakker
c699cc2e47 Use #any-of? instead of #match? where posible 2021-06-25 00:22:48 +02:00
elianiva
5d2faa0466 refactor: make html-like languages inherit from single query 2021-05-17 23:38:14 +02:00
Santos Gallegos
67f0857015 Revert "Comment: use @combined to create just one tree per buffer (#1252)"
This reverts commit 4a7a713c52.
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer (#1252)
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc
2021-04-28 07:19:07 -05:00
Artur Tagisow
e8e8c0f0f2 Highlight v-bind using javascript 2021-04-22 21:24:12 +02:00
elianiva
ffbf8f19a4 feat: add scss injection for svelte/vue 2021-04-08 22:50:41 +02:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
Hugo Osvaldo Barrera
4847f5a5a7 Add support for folding Vue files 2021-02-17 14:43:32 +01:00
Hugo Osvaldo Barrera
ff7ec08a1e Add support for Vue files
I haven't included parsing the `style` tag, since the only applicable
queries we have are CSS (which actually works fine for SCSS too).
2021-02-17 14:43:32 +01:00