mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
[language-python] Fix highlighting of some constructors
This commit is contained in:
parent
03af1244d3
commit
5d6af88dd7
@ -37,13 +37,13 @@
|
||||
|
||||
(call
|
||||
function: (identifier) @support.type.constructor.python
|
||||
(#match? @support.type.constructor.python "^[A-Z][a-z_]+")
|
||||
(#match? @support.type.constructor.python "^[A-Z][A-Za-z_]+")
|
||||
(#set! capture.final true))
|
||||
|
||||
(call
|
||||
function: (attribute
|
||||
attribute: (identifier) @support.type.constructor.python)
|
||||
(#match? @support.type.constructor.python "^[A-Z][a-z_]+")
|
||||
(#match? @support.type.constructor.python "^[A-Z][A-Za-z_]+")
|
||||
(#set! capture.final true))
|
||||
|
||||
(call
|
||||
|
Loading…
Reference in New Issue
Block a user