summaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorAnthony Shi <69449791+anthony-S93@users.noreply.github.com>2023-03-22 15:07:50 +0800
committerAmaan Qureshi <amaanq12@gmail.com>2023-03-22 05:27:28 -0400
commit9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd (patch)
tree488efbf4eb36eb126aed62fd7c61b56224408294 /queries/python
parentUpdate parsers: glimmer (diff)
downloadnvim-treesitter-9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd.tar
nvim-treesitter-9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd.tar.gz
nvim-treesitter-9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd.tar.bz2
nvim-treesitter-9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd.tar.lz
nvim-treesitter-9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd.tar.xz
nvim-treesitter-9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd.tar.zst
nvim-treesitter-9253ce66f9f0a7b5d8e0b0373d228688b3c4d5cd.zip
fix(python): add object as `@type.builtin`
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index d25448000..86cb46b5a 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -47,7 +47,7 @@
"FutureWarning" "ImportWarning" "UnicodeWarning" "BytesWarning" "ResourceWarning"
;; https://docs.python.org/3/library/stdtypes.html
"bool" "int" "float" "complex" "list" "tuple" "range" "str"
- "bytes" "bytearray" "memoryview" "set" "frozenset" "dict" "type"))
+ "bytes" "bytearray" "memoryview" "set" "frozenset" "dict" "type" "object"))
((assignment
left: (identifier) @type.definition