Syntax-highlight Python project symbols and completions
This commit is contained in:
parent
981e53784d
commit
4d4db6ec4b
2 changed files with 58 additions and 2 deletions
|
@ -17,8 +17,8 @@
|
|||
|
||||
; Identifier naming conventions
|
||||
|
||||
((identifier) @constructor
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
((identifier) @type
|
||||
(#match? @type "^[A-Z]"))
|
||||
|
||||
((identifier) @constant
|
||||
(#match? @constant "^[A-Z][A-Z_]*$"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue