mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
* Syntax Files: Detect more files for highlighting
This commit is contained in:
parent
c705a50603
commit
391ed68163
5 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
## Here is an example for Fish shell scripts.
|
||||
##
|
||||
syntax "Fish" "\.fish$"
|
||||
header "^#!.*/(env +)?fish( |$)"
|
||||
icolor brightgreen "^[0-9A-Z_]+\(\)"
|
||||
color green "\<(alias|begin|break|case|continue|contains|else|end|for|function|if|math|return|set|switch|test|while)\>"
|
||||
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue