mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
fix(python): prioritize builtin functions
This commit is contained in:
parent
c8c7924cc3
commit
d0a56e3677
2 changed files with 5 additions and 1 deletions
|
|
@ -45,7 +45,8 @@
|
|||
"input" "int" "isinstance" "issubclass" "iter" "len" "list" "locals" "map" "max" "memoryview"
|
||||
"min" "next" "object" "oct" "open" "ord" "pow" "print" "property" "range" "repr" "reversed"
|
||||
"round" "set" "setattr" "slice" "sorted" "staticmethod" "str" "sum" "super" "tuple" "type"
|
||||
"vars" "zip" "__import__"))
|
||||
"vars" "zip" "__import__")
|
||||
(#set! priority 102))
|
||||
|
||||
; Function definitions
|
||||
(function_definition
|
||||
|
|
|
|||
|
|
@ -16,3 +16,6 @@ class Foo:
|
|||
|
||||
Foo().method()
|
||||
# ^^^^^^ @function.method.call
|
||||
|
||||
print()
|
||||
# ^ @function.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue