mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(bash): add all signal names
This commit is contained in:
parent
d649756f49
commit
b74bd776f2
1 changed files with 3 additions and 1 deletions
|
|
@ -43,6 +43,7 @@
|
|||
[
|
||||
(string)
|
||||
(raw_string)
|
||||
(ansii_c_string)
|
||||
(heredoc_body)
|
||||
] @string @spell
|
||||
|
||||
|
|
@ -78,8 +79,9 @@
|
|||
|
||||
(special_variable_name) @constant
|
||||
|
||||
; trap -l
|
||||
((word) @constant.builtin
|
||||
(#match? @constant.builtin "^SIG(INT|TERM|QUIT|TIN|TOU|STP|HUP)$"))
|
||||
(#match? @constant.builtin "^SIG(HUP|INT|QUIT|ILL|TRAP|ABRT|BUS|FPE|KILL|USR[12]|SEGV|PIPE|ALRM|TERM|STKFLT|CHLD|CONT|STOP|TSTP|TT(IN|OU)|URG|XCPU|XFSZ|VTALRM|PROF|WINCH|IO|PWR|SYS|RTMIN([+]([1-9]|1[0-5]))?|RTMAX(-([1-9]|1[0-4]))?)$"))
|
||||
|
||||
((word) @boolean
|
||||
(#match? @boolean "^(true|false)$"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue