mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
[language-c] Add missing anchor to constant pattern
This commit is contained in:
parent
cb7d4aad6c
commit
e332953260
@ -305,7 +305,7 @@
|
|||||||
; macro preprocessors. The convention is decently strong in C/C++ that all-caps
|
; macro preprocessors. The convention is decently strong in C/C++ that all-caps
|
||||||
; identifiers will refer to `#define`d things.
|
; identifiers will refer to `#define`d things.
|
||||||
((identifier) @constant.other.c
|
((identifier) @constant.other.c
|
||||||
(#match? @constant.other.c "[_A-Z][_A-Z0-9]*$")
|
(#match? @constant.other.c "^[_A-Z][_A-Z0-9]*$")
|
||||||
(#set! capture.shy))
|
(#set! capture.shy))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user