* NanoRC Files: Copy linter and magic from nano 4.6 configs

This commit is contained in:
Zach DeCook 2019-12-18 11:20:31 -05:00
parent 97f06f6c73
commit db98b9f1b5
17 changed files with 26 additions and 0 deletions

View file

@ -2,8 +2,11 @@
##
syntax "SH" "\.sh$" "\.bashrc" "bashrc" "\.bash_aliases" "bash_aliases" "\.bash_functions" "bash_functions" "\.bash_login" "\.bash_logout" "\.bash_profile" "bash_profile" "\.profile" "revise\..+$"
header "^#!.*/(env +)?(ba)?sh( |$)"
magic "(POSIX|Bourne-Again) shell script.*text"
comment "#"
linter dash -n
## keywords:
color green "\<(case|do|done|elif|else|esac|fi|for|function|if|in|select|then|time|until|while)\>"
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"