diff options
Diffstat (limited to 'queries/python/highlights.scm')
| -rw-r--r-- | queries/python/highlights.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index cc11a5bd2..c56897804 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -9,6 +9,9 @@ ((identifier) @constant (match? @constant "^[A-Z][A-Z_0-9]*$")) +((identifier) @constant.builtin + (match? @constant.builtin "^__[a-zA-Z0-9_]*__$")) + ; Function calls (decorator) @function |
