Commit graph

19 commits

Author SHA1 Message Date
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