mirror of
https://github.com/scopatz/nanorc
synced 2024-11-14 13:14:16 +01:00
Also highlight ${name%%pattern} in .sh files
This commit is contained in:
parent
1aa64a86cf
commit
ecba44470b
@ -17,7 +17,7 @@ color brightblue "\<(alias|bg|bind|break|builtin|caller|cd|command|compgen|compl
|
|||||||
## not buitins:
|
## not buitins:
|
||||||
## cat|chmod|chown|cp|env|grep|install|ln|make|mkdir|mv|rm|sed|tar|touch
|
## cat|chmod|chown|cp|env|grep|install|ln|make|mkdir|mv|rm|sed|tar|touch
|
||||||
icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
|
icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
|
||||||
icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
icolor brightred "\$\{?[0-9A-Z_!@#%$*?-]+\}?"
|
||||||
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
||||||
color cyan "(^|[[:space:]])#.*$"
|
color cyan "(^|[[:space:]])#.*$"
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
Loading…
Reference in New Issue
Block a user