mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Force all syntax regex to ends with $
- Lots of syntax regex are poorly written and did not ends with a '$', which caused them competing with other regex rules.
This commit is contained in:
parent
1aa64a86cf
commit
3b48b83389
20 changed files with 20 additions and 20 deletions
|
|
@ -1,6 +1,6 @@
|
|||
## Here is an example for Bourne shell scripts.
|
||||
##
|
||||
syntax "SH" "\.sh$" "\.ash" "\.bashrc" "bashrc" "\.bash_aliases" "bash_aliases" "\.bash_functions" "bash_functions" "\.bash_login" "\.bash_logout" "\.bash_profile" "bash_profile" "\.profile" "revise\..+$"
|
||||
syntax "SH" "\.sh$" "\.ash$" "\.bashrc$" "bashrc$" "\.bash_aliases$" "bash_aliases$" "\.bash_functions$" "bash_functions$" "\.bash_login$" "\.bash_logout$" "\.bash_profile$" "bash_profile$" "\.profile$" "revise\..+$"
|
||||
header "^#!.*/(env +)?(ba|da|a)?sh( |$)"
|
||||
magic "(POSIX|Bourne-Again) shell script.*text"
|
||||
comment "#"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue