Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/share/mc/syntax/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/mc/syntax/ruby.syntax
#Ruby syntax file derived from perl syntax by Marco Ciampa <ciampix@libero.it>
#alpha version 0.2 16/05/2003

context default

#Bang path

    keyword whole linestart #!\[\s\]/\[abcdefghijklmnopqrstuvwxyz\]/\[abcdefghijklmnopqrstuvwxyz\]/\[abcdefghijklmnopqrstuvwxyz\]/\[abcdefghijklmnopqrstuvwxyz\]/bin/ruby brightcyan black
    keyword whole linestart #!\[\s\]/\[abcdefghijklmnopqrstuvwxyz\]/\[abcdefghijklmnopqrstuvwxyz\]/\[abcdefghijklmnopqrstuvwxyz\]/bin/ruby brightcyan black
    keyword whole linestart #!\[\s\]/\[abcdefghijklmnopqrstuvwxyz\]/\[abcdefghijklmnopqrstuvwxyz\]/bin/ruby brightcyan black
    keyword whole linestart #!\[\s\]/\[abcdefghijklmnopqrstuvwxyz\]/bin/ruby brightcyan black
    keyword whole linestart #!\[\s\]/bin/ruby brightcyan black

# Symbols :bla-bla
    keyword whole \:\{ABCDEFGHIJKLMNOPQRSTUVWXYZ_\-abcdefghijklmnopqrstuvwxyz\}\[\?\-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] white

#Operators

    keyword > yellow
    keyword < yellow
    keyword - yellow
    keyword \+ yellow
    keyword \* yellow
    keyword / yellow
    keyword % yellow
    keyword = yellow
    keyword \+= yellow
    keyword -= yellow
    keyword == yellow
    keyword != yellow
    keyword === yellow
    keyword <=> yellow
    keyword ! yellow
    keyword ~ yellow
    keyword =~ yellow
    keyword & yellow
    keyword | yellow
    keyword .. yellow

#System variables

# hack for regexps
    keyword $/ yellow
    keyword $\{!@&\+`'=~/\\,.;<>_\*"$:F?\} red
    keyword $\{\0123456789\} red
    keyword $-+ red

    keyword whole $defout red
    keyword whole $DEBUG red
    keyword whole $F red
    keyword whole $FILENAME red
    keyword whole $LOAD_PATH red
    keyword whole $SAFE red
    keyword whole $VERBOSE red
    keyword whole __FILE__ red
    keyword whole __LINE__ red
    keyword whole BEGIN red
    keyword whole END red
    keyword whole DATA red
    keyword whole RUBY_PLATFORM red
    keyword whole RUBY_RELEASE_DATE red
    keyword whole RUBY_VERSION red
    keyword whole $stdin red
    keyword whole STDIN red
    keyword whole $stdout red
    keyword whole STDOUT red
    keyword whole $stderr red
    keyword whole STDERR red
    keyword whole argv red
    keyword whole ARGV red
    keyword whole ARGF red
    keyword whole env red
    keyword whole ENV red

#Braces &

    keyword { brightcyan
    keyword } brightcyan
    keyword ( brightcyan
    keyword ) brightcyan
    keyword [ brightcyan
    keyword ] brightcyan
    keyword , brightcyan
    keyword : brightcyan

    keyword whole false brightred
    keyword whole FALSE brightred
    keyword whole nil brightred
    keyword whole NIL brightred
    keyword whole true brightred
    keyword whole TRUE brightred

#Variables

    keyword wholeright $+ brightgreen
    keyword wholeright @+ white
    keyword \\" brightred
    keyword \\' brightred

#Reserved words (see ruby manual)

    keyword whole def magenta

    keyword whole alias magenta
    keyword whole and magenta
    keyword whole begin magenta
    keyword whole break magenta
    keyword whole case magenta
    keyword whole class magenta
    keyword whole defined\? magenta
    keyword whole do magenta
    keyword whole else magenta
    keyword whole elsif magenta
    keyword whole end magenta
    keyword whole ensure magenta
    keyword whole for magenta
    keyword whole if magenta
    keyword whole in magenta
    keyword whole module magenta
    keyword whole next magenta
    keyword whole not magenta
    keyword whole or magenta
    keyword whole redo magenta
    keyword whole rescue magenta
    keyword whole retry magenta
    keyword whole return magenta
    keyword whole self magenta
    keyword whole super magenta
    keyword whole then magenta
    keyword whole undef magenta
    keyword whole unless magenta
    keyword whole until magenta
    keyword whole when magenta
    keyword whole while magenta
    keyword whole yeld magenta

#First class methods

    keyword whole new yellow
    keyword whole inherited yellow
    keyword whole superclass yellow

#Class module
#   exclusion
    keyword whole include\? green
    keyword whole include magenta
    keyword whole require magenta
    keyword whole require_relative magenta
#    keyword whole where magenta

#Class numeric

    keyword whole abs red
    keyword whole modulo red
    keyword whole remainder red

#Class IO

    keyword whole close yellow
    keyword whole crypt yellow
    keyword whole delete yellow
    keyword whole each yellow
    keyword whole gets yellow
    keyword whole grep yellow
    keyword whole inspect yellow
    keyword whole join yellow
    keyword whole sync yellow

#Class Array

    keyword whole index yellow
    keyword whole indexes yellow
    keyword whole indices yellow
    keyword whole size yellow
    keyword whole pop yellow
    keyword whole push yellow
    keyword whole sort yellow
    keyword whole shift yellow
    keyword whole unshift yellow

#Math module

    keyword whole Math::PI red
    keyword whole Math::E red
    keyword whole atan2 red
    keyword whole cos red
    keyword whole exp red
    keyword whole frexp red
    keyword whole ldexp red
    keyword whole log red
    keyword whole log10 red
    keyword whole sin red
    keyword whole sqrt red
    keyword whole tan red

#Kernel module

    keyword whole chomp yellow
    keyword whole chomp! yellow
    keyword whole chop yellow
    keyword whole chop! yellow
    keyword whole raise yellow
    keyword whole fork yellow
    keyword whole rand yellow
    keyword whole srand yellow
    keyword whole open yellow
    keyword whole print yellow
    keyword whole printf yellow
    keyword whole sprintf yellow
    keyword whole exec yellow
    keyword whole eval yellow
    keyword whole exit yellow
    keyword whole sleep yellow

#this works only with label EOF :-(
#context exclusive whole <<\[\s\]EOF EOF green

context # \n brown
    spellcheck

context " " green
    keyword \\" brightgreen
    keyword \\\\ brightgreen

context ' ' brightgreen
    keyword \\' green
    keyword \\\\ green

context exclusive ` ` white black
Name
Size
Permissions
Options
PKGBUILD.syntax
13.276 KB
-rw-r--r--
Syntax
7.259 KB
-rw-r--r--
ada95.syntax
1.74 KB
-rw-r--r--
as.syntax
5.582 KB
-rw-r--r--
aspx.syntax
1.044 KB
-rw-r--r--
assembler.syntax
11.864 KB
-rw-r--r--
awk.syntax
5.633 KB
-rw-r--r--
c.syntax
3.337 KB
-rw-r--r--
cabal.syntax
9.529 KB
-rw-r--r--
changelog.syntax
0.914 KB
-rw-r--r--
cmake.syntax
32.188 KB
-rw-r--r--
cs.syntax
4.435 KB
-rw-r--r--
css.syntax
19.452 KB
-rw-r--r--
cuda.syntax
4.596 KB
-rw-r--r--
cxx.syntax
3.8 KB
-rw-r--r--
cython.syntax
10.214 KB
-rw-r--r--
d.syntax
18.042 KB
-rw-r--r--
debian-changelog.syntax
0.657 KB
-rw-r--r--
debian-control.syntax
0.9 KB
-rw-r--r--
debian-description.syntax
0.462 KB
-rw-r--r--
debian-sources-list.syntax
0.361 KB
-rw-r--r--
diff.syntax
1.202 KB
-rw-r--r--
dlink.syntax
8.055 KB
-rw-r--r--
dos.syntax
2.12 KB
-rw-r--r--
ebuild.syntax
11.615 KB
-rw-r--r--
eiffel.syntax
2.917 KB
-rw-r--r--
erlang.syntax
9.816 KB
-rw-r--r--
f90.syntax
8.751 KB
-rw-r--r--
filehighlight.syntax
2.305 KB
-rw-r--r--
fortran.syntax
8.405 KB
-rw-r--r--
glsl.syntax
15.252 KB
-rw-r--r--
go.syntax
5.031 KB
-rw-r--r--
haskell.syntax
8.49 KB
-rw-r--r--
html.syntax
35.405 KB
-rw-r--r--
idl.syntax
2.998 KB
-rw-r--r--
ini.syntax
0.215 KB
-rw-r--r--
j.syntax
1.551 KB
-rw-r--r--
jal.syntax
10.04 KB
-rw-r--r--
java.syntax
3.817 KB
-rw-r--r--
js.syntax
5.035 KB
-rw-r--r--
latex.syntax
8.754 KB
-rw-r--r--
lisp.syntax
2.184 KB
-rw-r--r--
lkr.syntax
2.06 KB
-rw-r--r--
lsm.syntax
1.22 KB
-rw-r--r--
lua.syntax
8.343 KB
-rw-r--r--
m4.syntax
3.059 KB
-rw-r--r--
mail.syntax
4.017 KB
-rw-r--r--
makefile.syntax
2.306 KB
-rw-r--r--
ml.syntax
2.57 KB
-rw-r--r--
named.syntax
6.525 KB
-rw-r--r--
nemerle.syntax
5.618 KB
-rw-r--r--
nroff.syntax
7.948 KB
-rw-r--r--
octave.syntax
10.58 KB
-rw-r--r--
opencl.syntax
5.608 KB
-rw-r--r--
osl.syntax
3.972 KB
-rw-r--r--
pascal.syntax
3.889 KB
-rw-r--r--
perl.syntax
9.535 KB
-rw-r--r--
php.syntax
108.731 KB
-rw-r--r--
po.syntax
2.264 KB
-rw-r--r--
povray.syntax
8.348 KB
-rw-r--r--
procmail.syntax
8.104 KB
-rw-r--r--
properties.syntax
1.596 KB
-rw-r--r--
puppet.syntax
21.554 KB
-rw-r--r--
python.syntax
9.331 KB
-rw-r--r--
r.syntax
4.329 KB
-rw-r--r--
ruby.syntax
5.967 KB
-rw-r--r--
sh.syntax
64.367 KB
-rw-r--r--
slang.syntax
3.348 KB
-rw-r--r--
smalltalk.syntax
5.147 KB
-rw-r--r--
spec.syntax
11.371 KB
-rw-r--r--
sql.syntax
9.986 KB
-rw-r--r--
strace.syntax
1.051 KB
-rw-r--r--
swig.syntax
5.432 KB
-rw-r--r--
syntax.syntax
2.096 KB
-rw-r--r--
tcl.syntax
4.318 KB
-rw-r--r--
texinfo.syntax
8.87 KB
-rw-r--r--
tt.syntax
3.551 KB
-rw-r--r--
unknown.syntax
0.03 KB
-rw-r--r--
verilog.syntax
7.589 KB
-rw-r--r--
vhdl.syntax
5.013 KB
-rw-r--r--
xml.syntax
1.12 KB
-rw-r--r--
yaml.syntax
1.236 KB
-rw-r--r--
yum-repo.syntax
0.345 KB
-rw-r--r--
yxx.syntax
6.417 KB
-rw-r--r--