mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 08:35:39 +01:00
Merge pull request #30 from stevenhoneyman/master
Minor improvements to sh.nanorc
This commit is contained in:
commit
a376424640
@ -1,6 +1,7 @@
|
|||||||
## Here is an example for Bourne shell scripts.
|
## Here is an example for Bourne shell scripts.
|
||||||
##
|
##
|
||||||
syntax "sh" "\.sh$" "Makefile" "\.bashrc" "bashrc" "\.bash_aliases" "bash_aliases" "\.bash_profile" "bash_profile"
|
syntax "sh" "\.sh$" "\.bashrc" "bashrc" "\.bash_aliases" "bash_aliases" "\.bash_functions" "bash_functions" "\.bash_profile" "bash_profile"
|
||||||
|
header "^#!.*/(ba)?sh"
|
||||||
icolor brightgreen "^[0-9A-Z_]+\(\)"
|
icolor brightgreen "^[0-9A-Z_]+\(\)"
|
||||||
color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
|
color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
|
||||||
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||||||
|
Loading…
Reference in New Issue
Block a user