mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 06:30:22 +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
|
||||
; identifiers will refer to `#define`d things.
|
||||
((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))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user