nvim-treesitter/queries/python
Riley Bruins 1610b1aafb
feat(python): @string.regex capture, injection improvements (#5697)
* feat(python): `@string.regex` capture, injection improvements

* fix(python): match regex only for first argument of re module

* chore(python): remove unneeded capture

Co-authored-by: Santos Gallegos <stsewd@proton.me>

* fix(python): only highlight string content itself as regex

---------

Co-authored-by: Santos Gallegos <stsewd@proton.me>
2023-11-21 01:26:18 +09:00
..
folds.scm python(folds): fold whole functions not only body 2022-05-15 19:14:52 +02:00
highlights.scm feat(python): @string.regex capture, injection improvements (#5697) 2023-11-21 01:26:18 +09:00
indents.scm Add Python else elif dedent (#4618) 2023-04-29 10:35:35 +02:00
injections.scm feat(python): @string.regex capture, injection improvements (#5697) 2023-11-21 01:26:18 +09:00
locals.scm locals(python): adapt as_pattern to upstream change 2022-02-07 22:36:46 +01:00