mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
* NanoRC Files: Copy linter and magic from nano 4.6 configs
This commit is contained in:
parent
97f06f6c73
commit
db98b9f1b5
17 changed files with 26 additions and 0 deletions
|
|
@ -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 "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue