diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2020-08-18 10:31:42 -0500 |
|---|---|---|
| committer | Santos Gallegos <stsewd@protonmail.com> | 2020-08-18 10:31:42 -0500 |
| commit | fe8d91b748d6f250434f1227a2b2837b09b134ae (patch) | |
| tree | a4b796ce23a5c299dfed933aa6901d4217f679c5 /queries/python/highlights.scm | |
| parent | Merge pull request #323 from nathunsmitty/master (diff) | |
| download | nvim-treesitter-fe8d91b748d6f250434f1227a2b2837b09b134ae.tar nvim-treesitter-fe8d91b748d6f250434f1227a2b2837b09b134ae.tar.gz nvim-treesitter-fe8d91b748d6f250434f1227a2b2837b09b134ae.tar.bz2 nvim-treesitter-fe8d91b748d6f250434f1227a2b2837b09b134ae.tar.lz nvim-treesitter-fe8d91b748d6f250434f1227a2b2837b09b134ae.tar.xz nvim-treesitter-fe8d91b748d6f250434f1227a2b2837b09b134ae.tar.zst nvim-treesitter-fe8d91b748d6f250434f1227a2b2837b09b134ae.zip | |
Python: fix some highlights
These aren't valid lua patterns
Diffstat (limited to 'queries/python/highlights.scm')
| -rw-r--r-- | queries/python/highlights.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 93489a446..44230a3e2 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -20,7 +20,7 @@ ((attribute attribute: (identifier) @field) - (#match? @field "^([A-Z])@!.*$")) + (#vim-match? @field "^([A-Z])@!.*$")) ((identifier) @type.builtin (#vim-match? @type.builtin @@ -31,7 +31,7 @@ (decorator) @function ((decorator (dotted_name (identifier) @function)) - (#match? @function "^([A-Z])@!.*$")) + (#vim-match? @function "^([A-Z])@!.*$")) (call function: (identifier) @function) @@ -213,7 +213,7 @@ (assignment left: (expression_list (identifier) @field))))) - (#match? @field "^([A-Z])@!.*$")) + (#vim-match? @field "^([A-Z])@!.*$")) ((class_definition (block |
