Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df3934c

Browse files
committed
Highlight keyword argument names
Refs atom#281
1 parent d7e35bd commit df3934c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

grammars/tree-sitter-python.cson

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ scopes:
8989
'"global"': 'storage.modifier.global'
9090
'"nonlocal"': 'storage.modifier.nonlocal'
9191

92+
'keyword_argument > identifier:nth-child(0)': 'variable.parameter.function'
93+
9294
'"if"': 'keyword.control'
9395
'"else"': 'keyword.control'
9496
'"elif"': 'keyword.control'

0 commit comments

Comments
 (0)