/
usr
/
share
/
mc
/
syntax
/
/usr/share/mc/syntax
mkdir
upload
Name
Size
Mode
Actions
ada95.syntax
3531
0644
edit
dl
rm
as.syntax
5716
0644
edit
dl
rm
aspx.syntax
1069
0644
edit
dl
rm
assembler.syntax
12149
0644
edit
dl
rm
awk.syntax
5768
0644
edit
dl
rm
c.syntax
3411
0644
edit
dl
rm
cabal.syntax
9758
0644
edit
dl
rm
changelog.syntax
936
0644
edit
dl
rm
cmake.syntax
32960
0644
edit
dl
rm
cobol.syntax
22608
0644
edit
dl
rm
cs.syntax
4541
0644
edit
dl
rm
css.syntax
19919
0644
edit
dl
rm
cuda.syntax
4706
0644
edit
dl
rm
cxx.syntax
3885
0644
edit
dl
rm
cython.syntax
10459
0644
edit
dl
rm
d.syntax
18475
0644
edit
dl
rm
debian-changelog.syntax
673
0644
edit
dl
rm
debian-control.syntax
922
0644
edit
dl
rm
debian-description.syntax
473
0644
edit
dl
rm
debian-sources-list.syntax
1943
0644
edit
dl
rm
diff.syntax
1231
0644
edit
dl
rm
dlink.syntax
8248
0644
edit
dl
rm
dos.syntax
2171
0644
edit
dl
rm
ebuild.syntax
17953
0644
edit
dl
rm
eiffel.syntax
2987
0644
edit
dl
rm
erlang.syntax
10052
0644
edit
dl
rm
f90.syntax
8961
0644
edit
dl
rm
filehighlight.syntax
2360
0644
edit
dl
rm
fortran.syntax
8607
0644
edit
dl
rm
glsl.syntax
15618
0644
edit
dl
rm
go.syntax
5152
0644
edit
dl
rm
haskell.syntax
8694
0644
edit
dl
rm
hive.syntax
37504
0644
edit
dl
rm
html.syntax
36255
0644
edit
dl
rm
idl.syntax
3070
0644
edit
dl
rm
ini.syntax
220
0644
edit
dl
rm
j.syntax
1588
0644
edit
dl
rm
jal.syntax
10281
0644
edit
dl
rm
java.syntax
3909
0644
edit
dl
rm
js.syntax
5841
0644
edit
dl
rm
kotlin.syntax
5600
0644
edit
dl
rm
latex.syntax
8964
0644
edit
dl
rm
lisp.syntax
2236
0644
edit
dl
rm
lkr.syntax
2109
0644
edit
dl
rm
lsm.syntax
1249
0644
edit
dl
rm
lua.syntax
8543
0644
edit
dl
rm
m4.syntax
3132
0644
edit
dl
rm
mail.syntax
4113
0644
edit
dl
rm
makefile.syntax
2361
0644
edit
dl
rm
markdown.syntax
557
0644
edit
dl
rm
meson.syntax
3347
0644
edit
dl
rm
ml.syntax
2632
0644
edit
dl
rm
named.syntax
6682
0644
edit
dl
rm
nemerle.syntax
5753
0644
edit
dl
rm
nroff.syntax
8139
0644
edit
dl
rm
octave.syntax
10834
0644
edit
dl
rm
opencl.syntax
5743
0644
edit
dl
rm
osl.syntax
4067
0644
edit
dl
rm
pascal.syntax
3982
0644
edit
dl
rm
perl.syntax
9764
0644
edit
dl
rm
php.syntax
111527
0644
edit
dl
rm
PKGBUILD.syntax
13595
0644
edit
dl
rm
po.syntax
2318
0644
edit
dl
rm
povray.syntax
8548
0644
edit
dl
rm
procmail.syntax
8299
0644
edit
dl
rm
properties.syntax
1634
0644
edit
dl
rm
protobuf.syntax
1534
0644
edit
dl
rm
puppet.syntax
22071
0644
edit
dl
rm
python.syntax
9555
0644
edit
dl
rm
r.syntax
4433
0644
edit
dl
rm
ruby.syntax
6110
0644
edit
dl
rm
rust.syntax
4532
0644
edit
dl
rm
sh.syntax
66034
0644
edit
dl
rm
slang.syntax
3428
0644
edit
dl
rm
smalltalk.syntax
5271
0644
edit
dl
rm
spec.syntax
11884
0644
edit
dl
rm
sql.syntax
10897
0644
edit
dl
rm
strace.syntax
1076
0644
edit
dl
rm
swift.syntax
6446
0644
edit
dl
rm
swig.syntax
5562
0644
edit
dl
rm
Syntax
7993
0644
edit
dl
rm
syntax.syntax
2146
0644
edit
dl
rm
tcl.syntax
4422
0644
edit
dl
rm
texinfo.syntax
9083
0644
edit
dl
rm
ts.syntax
6461
0644
edit
dl
rm
tt.syntax
3636
0644
edit
dl
rm
unknown.syntax
31
0644
edit
dl
rm
verilog.syntax
20542
0644
edit
dl
rm
vhdl.syntax
5133
0644
edit
dl
rm
xml.syntax
1147
0644
edit
dl
rm
yabasic.syntax
5439
0644
edit
dl
rm
yaml.syntax
1373
0644
edit
dl
rm
yum-repo.syntax
353
0644
edit
dl
rm
yxx.syntax
6571
0644
edit
dl
rm
Edit:
/usr/share/mc/syntax/lua.syntax
(8543B)
# # Lua syntax highlighting # # History: # # - 2015: Support for long strings and long comments. # - 2011: String-literal fixes. # - 2005: Started by Mike Gorchak <lestat@i.com.ua> context default lightgray # keywords keyword whole and white keyword whole break white keyword whole do white keyword whole else white keyword whole elseif white keyword whole end white keyword whole false white keyword whole for white keyword whole function white keyword whole if white keyword whole in white keyword whole local white keyword whole nil white keyword whole not white keyword whole or white keyword whole repeat white keyword whole return white keyword whole then white keyword whole true white keyword whole until white keyword whole while white # Comment and string delimiters keyword -- brown keyword ]\[=\]] brown # The following colorizes the start delimiter of "long" strings. # The start delimiter of "long" comments isn't affected by the following # directive but gets its color from the "--" above (gods know why). keyword [\[=\][ brown # Operators keyword ( white keyword ) white keyword { white keyword } white keyword [ white keyword ] white keyword . white keyword , white keyword ; white keyword : white keyword .. white keyword ... white keyword = white keyword == white keyword ~= white keyword <= white keyword => white keyword > white keyword < white keyword \+ white keyword - white keyword \* white keyword / white keyword ^ white # Library Functions # basiclib keyword whole error yellow keyword whole getmetatable yellow keyword whole setmetatable yellow keyword whole getfenv yellow keyword whole setfenv yellow keyword whole next yellow keyword whole ipairs yellow keyword whole pairs yellow keyword whole print yellow keyword whole tonumber yellow keyword whole tostring yellow keyword whole type yellow keyword whole assert yellow #keyword whole unpack yellow # modern code should use table.unpack() keyword whole rawequal yellow keyword whole rawget yellow keyword whole rawset yellow keyword whole pcall yellow keyword whole xpcall yellow keyword whole collectgarbage yellow keyword whole gcinfo yellow keyword whole loadfile yellow keyword whole dofile yellow keyword whole loadstring yellow keyword whole require yellow keyword whole coroutine.create yellow keyword whole coroutine.wrap yellow keyword whole coroutine.resume yellow keyword whole coroutine.yield yellow keyword whole coroutine.status yellow # stringlib keyword whole string.len yellow keyword whole string.sub yellow keyword whole string.lower yellow keyword whole string.upper yellow keyword whole string.char yellow keyword whole string.rep yellow keyword whole string.byte yellow keyword whole string.format yellow keyword whole string.dump yellow keyword whole string.find yellow keyword whole string.gfind yellow keyword whole string.gsub yellow # tablelib keyword whole table.concat yellow keyword whole table.foreach yellow keyword whole table.foreachi yellow keyword whole table.getn yellow keyword whole table.setn yellow keyword whole table.sort yellow keyword whole table.insert yellow keyword whole table.remove yellow keyword whole table.unpack yellow # mathlib keyword whole math.abs yellow keyword whole math.sin yellow keyword whole math.cos yellow keyword whole math.tan yellow keyword whole math.asin yellow keyword whole math.acos yellow keyword whole math.atan yellow keyword whole math.atan2 yellow keyword whole math.ceil yellow keyword whole math.floor yellow keyword whole math.mod yellow keyword whole math.frexp yellow keyword whole math.ldexp yellow keyword whole math.sqrt yellow keyword whole math.min yellow keyword whole math.max yellow keyword whole math.log yellow keyword whole math.log10 yellow keyword whole math.exp yellow keyword whole math.deg yellow keyword whole math.pow yellow keyword whole math.rad yellow keyword whole math.random yellow keyword whole math.randomseed yellow # iolib keyword whole io.input yellow keyword whole io.output yellow keyword whole io.lines yellow keyword whole io.close yellow keyword whole io.flush yellow keyword whole io.open yellow keyword whole io.popen yellow keyword whole io.read yellow keyword whole io.tmpfile yellow keyword whole io.type yellow keyword whole io.write yellow # filelib keyword whole file.flush yellow keyword whole file.read yellow keyword whole file.lines yellow keyword whole file.seek yellow keyword whole file.write yellow keyword whole file.close yellow keyword whole file.__gc yellow keyword whole file.__tostring yellow # syslib keyword whole os.clock yellow keyword whole os.date yellow keyword whole os.difftime yellow keyword whole os.execute yellow keyword whole os.exit yellow keyword whole os.getenv yellow keyword whole os.remove yellow keyword whole os.rename yellow keyword whole os.setlocale yellow keyword whole os.time yellow keyword whole os.tmpname yellow # debuglib keyword whole debug.getlocal yellow keyword whole debug.getinfo yellow keyword whole debug.gethook yellow keyword whole debug.getupvalue yellow keyword whole debug.sethook yellow keyword whole debug.setlocal yellow keyword whole debug.setupvalue yellow keyword whole debug.debug yellow keyword whole debug.traceback yellow # Global Variables keyword whole _VERSION brightmagenta keyword whole _G brightmagenta # # Long comments # context exclusive --[[ ]] brown # hightlights ldoc tags: "@todo", "@param", "@function" etc. keyword @\[abcdefghijklmnopqrstuvwxyz\] brightred base spellcheck context exclusive --[=[ ]=] brown keyword @\[abcdefghijklmnopqrstuvwxyz\] brightred base spellcheck context exclusive --[==[ ]==] brown keyword @\[abcdefghijklmnopqrstuvwxyz\] brightred base spellcheck context exclusive --[===[ ]===] brown keyword @\[abcdefghijklmnopqrstuvwxyz\] brightred base spellcheck # 4 equals and up (the number of ='s doesn't have to match, but that's the best we can do): context exclusive --[====\[=\][ ]====\[=\]] brown keyword @\[abcdefghijklmnopqrstuvwxyz\] brightred base spellcheck # # Long strings # context exclusive [[ ]] brightmagenta spellcheck context exclusive [=[ ]=] brightmagenta spellcheck context exclusive [==[ ]==] brightmagenta spellcheck context exclusive [===[ ]===] brightmagenta spellcheck # 4 equals and up (the number of ='s doesn't have to match, but that's the best we can do): context exclusive [====\[=\][ ]====\[=\]] brightmagenta spellcheck # Simple comments context exclusive -- \n brown keyword @\[abcdefghijklmnopqrstuvwxyz\] brightred base spellcheck # Shebang line context linestart #! \n brown # Strings context " " green keyword %a brightgreen keyword %c brightgreen keyword %d brightgreen keyword %l brightgreen keyword %p brightgreen keyword %q brightgreen keyword %s brightgreen keyword %u brightgreen keyword %w brightgreen keyword %x brightgreen keyword %z brightgreen keyword \\\\ brightgreen keyword \\" brightgreen keyword \\' brightgreen keyword \\\{abtnvfr\} brightgreen keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen keyword \\\{01234567\}\{01234567\} brightgreen keyword \\\{01234567\} brightgreen spellcheck context ' ' green keyword %a brightgreen keyword %c brightgreen keyword %d brightgreen keyword %l brightgreen keyword %p brightgreen keyword %q brightgreen keyword %s brightgreen keyword %u brightgreen keyword %w brightgreen keyword %x brightgreen keyword %z brightgreen keyword \\\\ brightgreen keyword \\" brightgreen keyword \\' brightgreen keyword \\\{abtnvfr\} brightgreen keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen keyword \\\{01234567\}\{01234567\} brightgreen keyword \\\{01234567\} brightgreen spellcheck
Save
cmd:
run