Add back constant highlighting

pull/13477/head
David 2025-05-06 20:44:09 +01:00
parent 706f1497e9
commit a91b493a2f
No known key found for this signature in database
GPG Key ID: B221A2F7DC869E40
1 changed files with 3 additions and 0 deletions

View File

@ -219,6 +219,9 @@
(variable_name) @variable
((variable_name) @constant
(#match? @constant "^[A-Z][A-Z_0-9]*$"))
((variable_name) @variable.builtin
(#any-of? @variable.builtin
; https://www.gnu.org/software/bash/manual/html_node/Bourne-Shell-Variables.html