mirror of
https://github.com/SqrtMinusOne/biome.git
synced 2025-12-10 14:35:13 +03:00
biome-query: show "Group variables: unset" (#2)
This commit is contained in:
parent
ee98d98076
commit
aee39851e2
1 changed files with 5 additions and 3 deletions
|
|
@ -231,10 +231,12 @@ KEY is the api key of the variable. VAR-NAMES is the output of
|
||||||
(when group
|
(when group
|
||||||
(format "Group: %s\n"
|
(format "Group: %s\n"
|
||||||
(propertize group 'face 'transient-value)))
|
(propertize group 'face 'transient-value)))
|
||||||
(when group-vars
|
(when (or group group-vars)
|
||||||
(format "Group variables: %s\n"
|
(format "Group variables: %s\n"
|
||||||
(mapconcat (lambda (x) (propertize x 'face 'font-lock-variable-name-face))
|
(if group-vars
|
||||||
group-vars "; ")))
|
(mapconcat (lambda (x) (propertize x 'face 'font-lock-variable-name-face))
|
||||||
|
group-vars "; ")
|
||||||
|
(propertize "unset" 'face 'error))))
|
||||||
(when vars
|
(when vars
|
||||||
(format "Variables: %s\n"
|
(format "Variables: %s\n"
|
||||||
(mapconcat #'identity vars "; ")))
|
(mapconcat #'identity vars "; ")))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue