diff options
Diffstat (limited to 'queries/python')
| -rw-r--r-- | queries/python/highlights.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 2d845c4c0..07f4379ca 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -33,7 +33,10 @@ ; Function calls (decorator) @function -((decorator (dotted_name (identifier) @function)) +((decorator (attribute (identifier) @function)) + (#vim-match? @function "^([A-Z])@!.*$")) +(decorator) @function +((decorator (identifier) @function) (#vim-match? @function "^([A-Z])@!.*$")) (call |
