X7ROOT File Manager
Current Path:
/usr/share/nano
usr
/
share
/
nano
/
ðŸ“
..
📄
asm.nanorc
(882 B)
📄
autoconf.nanorc
(555 B)
📄
awk.nanorc
(1.32 KB)
📄
c.nanorc
(1.71 KB)
📄
changelog.nanorc
(713 B)
📄
cmake.nanorc
(825 B)
📄
css.nanorc
(344 B)
📄
debian.nanorc
(757 B)
📄
default.nanorc
(419 B)
📄
elisp.nanorc
(1.08 KB)
📄
fortran.nanorc
(1.92 KB)
📄
gentoo.nanorc
(4.13 KB)
📄
go.nanorc
(1.36 KB)
📄
groff.nanorc
(711 B)
📄
guile.nanorc
(588 B)
📄
html.nanorc
(1.18 KB)
📄
java.nanorc
(653 B)
📄
javascript.nanorc
(763 B)
📄
json.nanorc
(879 B)
📄
lua.nanorc
(2.31 KB)
📄
makefile.nanorc
(535 B)
📄
man.nanorc
(456 B)
📄
mgp.nanorc
(229 B)
📄
mutt.nanorc
(185 B)
📄
nanohelp.nanorc
(390 B)
📄
nanorc.nanorc
(2.64 KB)
📄
nftables.nanorc
(792 B)
📄
objc.nanorc
(1.76 KB)
📄
ocaml.nanorc
(859 B)
📄
patch.nanorc
(590 B)
📄
perl.nanorc
(1.43 KB)
📄
php.nanorc
(1.04 KB)
📄
po.nanorc
(920 B)
📄
postgresql.nanorc
(3 KB)
📄
pov.nanorc
(632 B)
📄
python.nanorc
(966 B)
📄
ruby.nanorc
(1.48 KB)
📄
rust.nanorc
(1.09 KB)
📄
sh.nanorc
(1.36 KB)
📄
spec.nanorc
(1.88 KB)
📄
tcl.nanorc
(2.13 KB)
📄
tex.nanorc
(200 B)
📄
texinfo.nanorc
(465 B)
📄
xml.nanorc
(527 B)
Editing: ruby.nanorc
## Here is an example for Ruby. syntax ruby "\.rb$" header "^#!.*ruby[-0-9._]*" magic "Ruby script" linter ruby -w -c comment "#" # 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)\>" # Constants. color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*" # Ruby "symbols". icolor magenta "([ ]|^):[0-9A-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