Commit graph

29 commits

Author SHA1 Message Date
Riley Bruins
a8c082b4f5
feat(jsx): apply HTML-based highlight improvements (#6867) 2024-07-05 22:46:34 +09:00
Phạm Huy Hoàng
722617e672 refactor(format): drop extra indentation for field 2024-03-21 15:51:26 +01:00
Sean Boult
10e8dffb79
feat(jsx): spell check text nodes (#6083) 2024-02-12 06:51:12 +07:00
Calum Smith
0d14299a9d highlight(jsx,tsx): character references (a.k.a. entities) 2024-02-05 18:37:12 +01:00
Amaan Qureshi
6da205148f chore(ecma,jsx): update parser and queries 2024-01-31 22:31:50 -05:00
Riley Bruins
314fe31dc7 fix(jsx): proper tag and builtin tag distinction 2024-01-25 09:11:48 +01:00
Phạm Huy Hoàng
77e298e4de chore: format queries 2024-01-21 23:55:02 +09:00
Pham Huy Hoang
57a8acf0c4 chore: query formatting 2024-01-19 16:58:37 +01:00
Pham Huy Hoang
78b54eb7f6 chore(injections)!: update injection syntax to 0.9
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter

- update health check
- update doc
2023-08-12 17:34:15 +02:00
Amaan Qureshi
823e67a1c9 chore: update JSX from upstream 2023-07-12 15:51:15 +02:00
George Harker
cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00
Pham Huy Hoang
2cd89b4bc3 fix(jsx): add missing indent end mark to elements 2023-01-04 12:14:03 +01:00
numToStr
69a55e86ce injections(jsx): highlight <style jsx> as css 2022-08-26 12:05:02 -07:00
Lewis Russell
011ac894ec Prefer lua-match over match
as string.find is much quicker than vim.regex:match*
2021-11-23 10:02:06 +01:00
lmlorca
fb5d6e04a8 add @tag.attribute for html like attributes 2021-07-14 10:13:13 +02:00
Munif Tanjim
f29ead00e6
highlights(jsx): fix constant identifier (#1434) 2021-07-10 19:56:10 -05:00
napmn
8e53e706e5 JSX components with capital first letter highlighted as constructor rather than type 2021-06-04 08:30:16 +02:00
kiyan
8948c331ee fix: jsx indent query 2021-04-01 20:50:25 +02:00
elianiva
9184cf3953 feat: added more indent queries 2021-01-14 14:43:04 +01:00
davidroeca
f925408640 use for first identifier in jsx nested_identifier 2020-10-23 22:53:23 +02:00
davidroeca
dafe947ecd handle jsx components with dot in them 2020-10-23 22:53:23 +02:00
kiyan42
b3a1ae3210 also match variable names to be @type when uppercased 2020-09-20 01:11:55 +02:00
kiyan42
1340375c90 use @tag and @type directives for jsx highlights 2020-09-20 01:11:55 +02:00
kiyan42
71ba2afc70 add TSNone 2020-09-15 00:19:04 +02:00
kiyan42
bfdee5658a do not highlight as normal to prevent background to override CursorLine 2020-09-15 00:19:04 +02:00
Santos Gallegos
dd8ca8a375
Rename jsx/fold.scm -> folds.scm
This was merged before https://github.com/nvim-treesitter/nvim-treesitter/pull/461
2020-09-14 11:31:06 -05:00
kyazdani42
b024072ded add jsx fold on jsx_element only 2020-09-12 14:14:28 +02:00
Thomas Vigouroux
b90e520ccd ci: fix wrong queries 2020-09-11 12:02:35 +02:00
kyazdani42
8d6c40ce24 fix using highlight query extension for every query type 2020-09-07 21:57:56 +02:00