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

Commit 5d54870

Browse files
authored
use entity.name.function.definition
1 parent 4d96607 commit 5d54870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/tree-sitter-python.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ scopes:
7373
'interpolation > "}"': 'punctuation.section.embedded'
7474

7575
'class_definition > identifier': 'entity.name.type.class'
76-
'function_definition > identifier': 'entity.name.function.def'
76+
'function_definition > identifier': 'entity.name.function.definition'
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'},

0 commit comments

Comments
 (0)