mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
* Nanorc: Copy comment syntax from nano 4.6 nanorcs
This commit is contained in:
parent
c705a50603
commit
97f06f6c73
29 changed files with 47 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
##
|
||||
syntax "Ruby" "\.rb$" "Gemfile" "config.ru" "Rakefile" "Capfile" "Vagrantfile"
|
||||
header "^#!.*/(env +)?ruby( |$)"
|
||||
comment "#"
|
||||
|
||||
## Asciibetical list of reserved words
|
||||
color yellow "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue