Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit b0a77d5

Browse files
aminyaGrayJack
andcommitted
Support constructor
Co-Authored-By: Eric Shimizu Karbstein <[email protected]>
1 parent 89351c1 commit b0a77d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grammars/tree-sitter-python.cson

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ scopes:
7777
'call > identifier:nth-child(0)': [
7878
{match: '^(abs|all|any|ascii|bin|bool|breakpoint|bytearray|bytes|callable|chr|classmethod|compile|complex|delattr|dict|dir|divmod|enumerate|eval|exec|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|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__)$',
7979
scopes: 'support.function.call'},
80+
{match: '^[A-Z]', scopes: 'support.type.contructor'}
8081
'entity.name.function.call'
8182
]
8283
'call > attribute > identifier:nth-child(2)': 'entity.name.function'

0 commit comments

Comments
 (0)