XYZ File Manager
Current Path:
/usr/share/nano
usr
/
share
/
nano
/
📁
..
📄
ada.nanorc
(1.24 KB)
📄
asm.nanorc
(687 B)
📄
autoconf.nanorc
(638 B)
📄
awk.nanorc
(1.32 KB)
📄
c.nanorc
(1.95 KB)
📄
changelog.nanorc
(800 B)
📄
cmake.nanorc
(788 B)
📄
css.nanorc
(505 B)
📄
debian.nanorc
(758 B)
📄
default.nanorc
(546 B)
📄
elisp.nanorc
(1.08 KB)
📄
email.nanorc
(333 B)
📄
fortran.nanorc
(1.92 KB)
📄
gentoo.nanorc
(4.13 KB)
📄
go.nanorc
(1.42 KB)
📄
groff.nanorc
(700 B)
📄
guile.nanorc
(586 B)
📄
haskell.nanorc
(1009 B)
📄
html.nanorc
(1.22 KB)
📄
java.nanorc
(654 B)
📄
javascript.nanorc
(822 B)
📄
json.nanorc
(856 B)
📄
lua.nanorc
(2.39 KB)
📄
makefile.nanorc
(536 B)
📄
man.nanorc
(727 B)
📄
markdown.nanorc
(947 B)
📄
nanohelp.nanorc
(418 B)
📄
nanorc.nanorc
(3.11 KB)
📄
nftables.nanorc
(926 B)
📄
objc.nanorc
(1.47 KB)
📄
ocaml.nanorc
(859 B)
📄
patch.nanorc
(600 B)
📄
perl.nanorc
(1.66 KB)
📄
php.nanorc
(1.05 KB)
📄
po.nanorc
(1.09 KB)
📄
povray.nanorc
(637 B)
📄
python.nanorc
(1.2 KB)
📄
ruby.nanorc
(1.49 KB)
📄
rust.nanorc
(1023 B)
📄
sh.nanorc
(1.5 KB)
📄
spec.nanorc
(1.97 KB)
📄
sql.nanorc
(2.85 KB)
📄
tcl.nanorc
(1.95 KB)
📄
tex.nanorc
(199 B)
📄
texinfo.nanorc
(540 B)
📄
xml.nanorc
(526 B)
Editing: ruby.nanorc
## Syntax highlighting for Ruby. syntax ruby "\.rb$" header "^#!.*ruby" magic "Ruby script" comment "#" linter ruby -w -c # Constants. color brightblue "\<[A-Z]+[0-9A-Z_a-z]*|(\$|@|@@)[0-9A-Z_a-z]+" # Reserved words. color yellow "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module)\>" color yellow "\<(next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>" # Ruby "symbols". color magenta "([ ]|^):[0-9A-Za-z_]+\>" # Some unique things we want to stand out. color brightyellow "\<(__FILE__|__LINE__)\>" # Regular expressions. color brightmagenta "/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*" # Shell command expansion is in `backticks` or like %x{this}. These are # "double-quotish" (to use a perlism). color brightblue "`[^`]*`" "%x\{[^}]*\}" # Strings, double-quoted. color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!" # Expression substitution. These go inside double-quoted strings, # "like #{this}". color brightgreen "#\{[^}]*\}" # Strings, single-quoted. color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!" # Comments. color cyan "#[^{].*" "#$" color brightcyan "##[^{].*" "##$" # "Here" docs. color green start="<<-?'?EOT'?" end="^EOT" # Some common markers. color brightcyan "XXX|TODO|FIXME|\?\?\?"
Upload File
Create Folder