| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(python): restrict typed parameter highlight | ObserverOfTime | 2023-12-14 | 1 | -1/+1 |
| | | | | | Only the name is a parameter and not the value | ||||
| * | fix(python): highlight variadic lambda parameters | ObserverOfTime | 2023-12-14 | 1 | -0/+6 |
| | | |||||
| * | feat(python): `@string.regex` capture, injection improvements (#5697) | Riley Bruins | 2023-11-21 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | * 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> | ||||
| * | refactor: Remove all `(ERROR) @error` captures | Pham Huy Hoang | 2023-10-25 | 1 | -3/+0 |
| | | | | | | | | | | | | | As discussed in PR#5421, capturing `@error` is inconsistent, requiring deep nesting (or priority) in order to correctly have red backgrounds to it. Some queries has this capture, some don't. For consistency purposes, removing all of them is more preferable. For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)` to your custom queries. | ||||
| * | feat(python): update parser & highlights | Amaan Qureshi | 2023-08-16 | 1 | -0/+3 |
| | | |||||
| * | fix(python,starlark): update parsers & add escape_interpolation | Amaan Qureshi | 2023-08-16 | 1 | -1/+4 |
| | | |||||
| * | fix(python): fields should not match uppercase-beginning names | Amaan Qureshi | 2023-04-29 | 1 | -1/+1 |
| | | |||||
| * | fix(python,starlark): builtin types should come after types | Amaan Qureshi | 2023-04-25 | 1 | -18/+18 |
| | | |||||
| * | feat(python,starlark): highlight type conversions as `@function.macro` | Amaan Qureshi | 2023-04-25 | 1 | -0/+2 |
| | | |||||
| * | fix(python,starlark): update field match pattern | Amaan Qureshi | 2023-04-25 | 1 | -3/+3 |
| | | |||||
| * | perf: remove match where possible | Amaan Qureshi | 2023-04-21 | 1 | -6/+6 |
| | | |||||
| * | fix(python): add object as `@type.builtin` | Anthony Shi | 2023-03-22 | 1 | -1/+1 |
| | | |||||
| * | feat: add `@string.documentation` where applicable | Amaan Qureshi | 2023-03-05 | 1 | -1/+12 |
| | | |||||
| * | feat!: add `@keyword.coroutine` capture | Amaan Qureshi | 2023-03-03 | 1 | -2/+5 |
| | | |||||
| * | Update highlights.scm for Python | Anthony Shi | 2023-03-02 | 1 | -0/+2 |
| | | | | Added new keywords "is not" and "not in" | ||||
| * | python(highlights): adapt query to parser change | Christian Clason | 2023-02-28 | 1 | -5/+1 |
| | | |||||
| * | highlights(python): fix captures | ObserverOfTime | 2022-11-26 | 1 | -9/+38 |
| | | |||||
| * | highlights(python): add "except*" | Stephan Seitz | 2022-10-25 | 1 | -0/+1 |
| | | | | | | | Added in https://github.com/tree-sitter/tree-sitter-python/pull/176 About the feature https://realpython.com/python311-exception-groups/#exception-groups-and-except-in-python-311 | ||||
| * | highlights: use @preproc where appropriate | ObserverOfTime | 2022-10-15 | 1 | -0/+4 |
| | | |||||
| * | feat(spell): support more languages | Lewis Russell | 2022-09-26 | 1 | -2/+1 |
| | | |||||
| * | feat(spell): upstream spell queries from spellsitter | Lewis Russell | 2022-09-06 | 1 | -0/+4 |
| | | |||||
| * | Split func/method definition from calls in python highlighting query | lfenzo | 2022-08-03 | 1 | -2/+2 |
| | | |||||
| * | fix: keep cls variable highlighting consistent in class methods | Ryan Barth | 2022-06-14 | 1 | -10/+2 |
| | | |||||
| * | Python: highlight future import (#2936) | Santos Gallegos | 2022-05-13 | 1 | -0/+1 |
| | | | | | | * Python: highlight future import * Use constant.builtin | ||||
| * | Python: highlight raise from statement | Santos Gallegos | 2022-05-01 | 1 | -0/+2 |
| | | |||||
| * | fixup! highlights(python): highlight exception keywords | Ferdinand Ratajczak | 2022-04-07 | 1 | -4/+0 |
| | | |||||
| * | highlights(python): highlight exception keywords | Ferdinand Ratajczak | 2022-04-07 | 1 | -0/+11 |
| | | |||||
| * | highlights(python): "from" in yield should be `@keyword.return` | Stephan Seitz | 2022-04-01 | 1 | -1/+4 |
| | | | | | Fixes #2712 | ||||
| * | highlights(python): add support for pattern matching | Stephan Seitz | 2022-01-28 | 1 | -1/+1 |
| | | | | | | Fixes #2080 Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140 | ||||
| * | Update queries | Santos Gallegos | 2021-12-22 | 1 | -1/+1 |
| | | | | | | - Don't use the old form for predicates - Update some invalid queries | ||||
| * | highlights(python): Improve self and cls highlight (#2134) | Fabian | 2021-12-18 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | 1. This function simplifies an unnecessary lua-match usage. 2. Fixes an accidental change, where "cls" was changed to "class" (fe4f320b66) 3. Match functions, which have have a decorator. 4. But exclude @staticmethod 5. Only highlight "cls" as @variable.builtin when the decorator is @classmethod This might be a bit to complicated and some of this not to useful, as this existing rule: ```scm ((identifier) @variable.builtin (#eq? @variable.builtin "self")) ``` overwrites the queries anyway. | ||||
| * | Prefer lua-match over match | Lewis Russell | 2021-11-23 | 1 | -6/+6 |
| | | | | | as string.find is much quicker than vim.regex:match* | ||||
| * | Python: highlight semicolon | Santos Gallegos | 2021-11-12 | 1 | -1/+1 |
| | | |||||
| * | chore: fix typos | Dundar Göc | 2021-11-02 | 1 | -1/+1 |
| | | |||||
| * | Update queries/python/highlights.scm | Santos Gallegos | 2021-11-01 | 1 | -1/+1 |
| | | |||||
| * | Revert "feat: add `del` keyword for highlights" | Santos Gallegos | 2021-11-01 | 1 | -2/+2 |
| | | | | | This reverts commit 385193d41fe6b74fe0e3698588ae54545d1cd88b. | ||||
| * | feat: add `del` keyword for highlights | Ashish Panigrahi | 2021-11-01 | 1 | -2/+2 |
| | | |||||
| * | Python: highlight interpolation escaped chars | Santos Gallegos | 2021-10-22 | 1 | -1/+5 |
| | | | | | Support for these was just added in the grammar. | ||||
| * | Python: fix class highlights (#1548) | Santos Gallegos | 2021-07-11 | 1 | -6/+7 |
| | | |||||
| * | Highlights(python): Add `@keyword.function` | Sergio Alejandro Vargas | 2021-07-06 | 1 | -2/+5 |
| | | | | | Use `@keyword.function` for `def` and `lambda` | ||||
| * | feat(keywords) merge return and yield into keyword.return group | antonk52 | 2021-07-04 | 1 | -4/+1 |
| | | |||||
| * | feat(keywords) add keyword.return & keyword.yield | antonk52 | 2021-07-04 | 1 | -2/+8 |
| | | |||||
| * | python(highlights): don't use type for APP | Stephan Seitz | 2021-07-01 | 1 | -1/+1 |
| | | |||||
| * | highlights(python): use any-of? | Stephan Seitz | 2021-05-16 | 1 | -9/+30 |
| | | |||||
| * | Python highlights: update definition of decorator | Stephan Seitz | 2021-01-07 | 1 | -1/+4 |
| | | |||||
| * | Remove usages of `@embedded` in highlights | Stephan Seitz | 2021-01-06 | 1 | -1/+1 |
| | | |||||
| * | Python: fix self highlighing | Santos Gallegos | 2020-12-18 | 1 | -1/+1 |
| | | |||||
| * | Update Python queries | Stephan Seitz | 2020-11-30 | 1 | -2/+8 |
| | | |||||
| * | Fix Python queries for parser update | Stephan Seitz | 2020-11-03 | 1 | -8/+8 |
| | | |||||
| * | Dart highlights: Reset highlight in interpolation | Stephan Seitz | 2020-10-05 | 1 | -1/+1 |
| | | |||||
