devver-ultraviolet 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +25 -0
- data/Manifest.txt +233 -0
- data/README.txt +52 -0
- data/bin/theme2latexrender +122 -0
- data/bin/theme2xhtmlrender +156 -0
- data/bin/uv +140 -0
- data/lib/uv.rb +94 -0
- data/lib/uv/render_processor.rb +146 -0
- data/lib/uv/utility.rb +67 -0
- data/render/latex/active4d.render +132 -0
- data/render/latex/all_hallows_eve.render +96 -0
- data/render/latex/amy.render +171 -0
- data/render/latex/blackboard.render +111 -0
- data/render/latex/brilliance_black.render +552 -0
- data/render/latex/brilliance_dull.render +561 -0
- data/render/latex/cobalt.render +162 -0
- data/render/latex/dawn.render +126 -0
- data/render/latex/eiffel.render +132 -0
- data/render/latex/espresso_libre.render +123 -0
- data/render/latex/idle.render +93 -0
- data/render/latex/iplastic.render +99 -0
- data/render/latex/lazy.render +96 -0
- data/render/latex/mac_classic.render +135 -0
- data/render/latex/magicwb_amiga.render +117 -0
- data/render/latex/pastels_on_dark.render +204 -0
- data/render/latex/slush_poppies.render +123 -0
- data/render/latex/spacecadet.render +81 -0
- data/render/latex/sunburst.render +186 -0
- data/render/latex/twilight.render +153 -0
- data/render/latex/zenburnesque.render +126 -0
- data/render/old/txt2tags.render +131 -0
- data/render/xhtml/active4d.render +140 -0
- data/render/xhtml/all_hallows_eve.render +104 -0
- data/render/xhtml/amy.render +179 -0
- data/render/xhtml/blackboard.render +119 -0
- data/render/xhtml/brilliance_black.render +560 -0
- data/render/xhtml/brilliance_dull.render +569 -0
- data/render/xhtml/cobalt.render +170 -0
- data/render/xhtml/dawn.render +134 -0
- data/render/xhtml/eiffel.render +140 -0
- data/render/xhtml/espresso_libre.render +131 -0
- data/render/xhtml/files/css/active4d.css +114 -0
- data/render/xhtml/files/css/all_hallows_eve.css +72 -0
- data/render/xhtml/files/css/amy.css +147 -0
- data/render/xhtml/files/css/blackboard.css +88 -0
- data/render/xhtml/files/css/brilliance_black.css +605 -0
- data/render/xhtml/files/css/brilliance_dull.css +599 -0
- data/render/xhtml/files/css/cobalt.css +149 -0
- data/render/xhtml/files/css/dawn.css +121 -0
- data/render/xhtml/files/css/eiffel.css +121 -0
- data/render/xhtml/files/css/espresso_libre.css +109 -0
- data/render/xhtml/files/css/idle.css +62 -0
- data/render/xhtml/files/css/iplastic.css +80 -0
- data/render/xhtml/files/css/lazy.css +73 -0
- data/render/xhtml/files/css/mac_classic.css +123 -0
- data/render/xhtml/files/css/magicwb_amiga.css +104 -0
- data/render/xhtml/files/css/pastels_on_dark.css +188 -0
- data/render/xhtml/files/css/slush_poppies.css +85 -0
- data/render/xhtml/files/css/spacecadet.css +51 -0
- data/render/xhtml/files/css/sunburst.css +180 -0
- data/render/xhtml/files/css/twilight.css +137 -0
- data/render/xhtml/files/css/zenburnesque.css +91 -0
- data/render/xhtml/idle.render +101 -0
- data/render/xhtml/iplastic.render +107 -0
- data/render/xhtml/lazy.render +104 -0
- data/render/xhtml/mac_classic.render +143 -0
- data/render/xhtml/magicwb_amiga.render +125 -0
- data/render/xhtml/pastels_on_dark.render +212 -0
- data/render/xhtml/slush_poppies.render +131 -0
- data/render/xhtml/spacecadet.render +89 -0
- data/render/xhtml/sunburst.render +194 -0
- data/render/xhtml/twilight.render +161 -0
- data/render/xhtml/zenburnesque.render +134 -0
- data/syntax/actionscript.syntax +97 -0
- data/syntax/active4d.syntax +276 -0
- data/syntax/active4d_html.syntax +311 -0
- data/syntax/active4d_ini.syntax +50 -0
- data/syntax/active4d_library.syntax +21 -0
- data/syntax/ada.syntax +33 -0
- data/syntax/antlr.syntax +151 -0
- data/syntax/apache.syntax +191 -0
- data/syntax/applescript.syntax +384 -0
- data/syntax/asp.syntax +70 -0
- data/syntax/asp_vb.net.syntax +129 -0
- data/syntax/bibtex.syntax +151 -0
- data/syntax/blog_html.syntax +41 -0
- data/syntax/blog_markdown.syntax +42 -0
- data/syntax/blog_text.syntax +27 -0
- data/syntax/blog_textile.syntax +27 -0
- data/syntax/build.syntax +53 -0
- data/syntax/bulletin_board.syntax +287 -0
- data/syntax/cake.syntax +55 -0
- data/syntax/camlp4.syntax +36 -0
- data/syntax/cm.syntax +32 -0
- data/syntax/coldfusion.syntax +119 -0
- data/syntax/context_free.syntax +176 -0
- data/syntax/cs.syntax +59 -0
- data/syntax/css.syntax +195 -0
- data/syntax/css_experimental.syntax +1925 -0
- data/syntax/csv.syntax +68 -0
- data/syntax/d.syntax +142 -0
- data/syntax/diff.syntax +81 -0
- data/syntax/dokuwiki.syntax +204 -0
- data/syntax/dot.syntax +47 -0
- data/syntax/doxygen.syntax +43 -0
- data/syntax/dylan.syntax +62 -0
- data/syntax/eiffel.syntax +78 -0
- data/syntax/erlang.syntax +922 -0
- data/syntax/f-script.syntax +80 -0
- data/syntax/fortran.syntax +141 -0
- data/syntax/fxscript.syntax +142 -0
- data/syntax/greasemonkey.syntax +34 -0
- data/syntax/gri.syntax +83 -0
- data/syntax/groovy.syntax +191 -0
- data/syntax/gtd.syntax +22 -0
- data/syntax/gtdalt.syntax +143 -0
- data/syntax/haml.syntax +88 -0
- data/syntax/haskell.syntax +88 -0
- data/syntax/html-asp.syntax +27 -0
- data/syntax/html.syntax +362 -0
- data/syntax/html_django.syntax +36 -0
- data/syntax/html_for_asp.net.syntax +424 -0
- data/syntax/html_mason.syntax +119 -0
- data/syntax/html_rails.syntax +40 -0
- data/syntax/html_tcl.syntax +26 -0
- data/syntax/icalendar.syntax +32 -0
- data/syntax/inform.syntax +48 -0
- data/syntax/ini.syntax +55 -0
- data/syntax/installer_distribution_script.syntax +77 -0
- data/syntax/io.syntax +81 -0
- data/syntax/java.syntax +211 -0
- data/syntax/javaproperties.syntax +20 -0
- data/syntax/javascript.syntax +256 -0
- data/syntax/javascript_+_prototype.syntax +72 -0
- data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
- data/syntax/jquery_javascript.syntax +114 -0
- data/syntax/json.syntax +136 -0
- data/syntax/languagedefinition.syntax +708 -0
- data/syntax/latex.syntax +566 -0
- data/syntax/latex_beamer.syntax +41 -0
- data/syntax/latex_log.syntax +50 -0
- data/syntax/latex_memoir.syntax +64 -0
- data/syntax/lexflex.syntax +219 -0
- data/syntax/lighttpd.syntax +54 -0
- data/syntax/lilypond.syntax +492 -0
- data/syntax/lisp.syntax +61 -0
- data/syntax/literate_haskell.syntax +24 -0
- data/syntax/logo.syntax +29 -0
- data/syntax/logtalk.syntax +152 -0
- data/syntax/lua.syntax +86 -0
- data/syntax/m.syntax +142 -0
- data/syntax/macports_portfile.syntax +163 -0
- data/syntax/makefile.syntax +36 -0
- data/syntax/man.syntax +17 -0
- data/syntax/mediawiki.syntax +567 -0
- data/syntax/mips.syntax +66 -0
- data/syntax/mod_perl.syntax +50 -0
- data/syntax/modula-3.syntax +47 -0
- data/syntax/moinmoin.syntax +189 -0
- data/syntax/mootools.syntax +572 -0
- data/syntax/movable_type.syntax +162 -0
- data/syntax/multimarkdown.syntax +39 -0
- data/syntax/objective-c++.syntax +18 -0
- data/syntax/objective-c.syntax +233 -0
- data/syntax/ocaml.syntax +764 -0
- data/syntax/ocamllex.syntax +167 -0
- data/syntax/ocamlyacc.syntax +184 -0
- data/syntax/opengl.syntax +14 -0
- data/syntax/pascal.syntax +77 -0
- data/syntax/perl.syntax +1115 -0
- data/syntax/plain_text.syntax +32 -0
- data/syntax/postscript.syntax +114 -0
- data/syntax/processing.syntax +106 -0
- data/syntax/prolog.syntax +40 -0
- data/syntax/property_list.syntax +635 -0
- data/syntax/python.syntax +868 -0
- data/syntax/python_django.syntax +21 -0
- data/syntax/qmake_project.syntax +114 -0
- data/syntax/qt_c++.syntax +26 -0
- data/syntax/quake3_config.syntax +32 -0
- data/syntax/r.syntax +81 -0
- data/syntax/r_console.syntax +16 -0
- data/syntax/ragel.syntax +201 -0
- data/syntax/rd_r_documentation.syntax +91 -0
- data/syntax/regexp.syntax +50 -0
- data/syntax/release_notes.syntax +46 -0
- data/syntax/remind.syntax +253 -0
- data/syntax/restructuredtext.syntax +250 -0
- data/syntax/rez.syntax +80 -0
- data/syntax/ruby.syntax +1035 -0
- data/syntax/ruby_experimental.syntax +145 -0
- data/syntax/ruby_on_rails.syntax +88 -0
- data/syntax/s5.syntax +69 -0
- data/syntax/scheme.syntax +347 -0
- data/syntax/scilab.syntax +41 -0
- data/syntax/setext.syntax +147 -0
- data/syntax/shell-unix-generic.syntax +384 -0
- data/syntax/slate.syntax +149 -0
- data/syntax/sql.syntax +237 -0
- data/syntax/sql_rails.syntax +18 -0
- data/syntax/ssh-config.syntax +33 -0
- data/syntax/standard_ml.syntax +121 -0
- data/syntax/strings_file.syntax +39 -0
- data/syntax/subversion_commit_message.syntax +36 -0
- data/syntax/sweave.syntax +84 -0
- data/syntax/swig.syntax +57 -0
- data/syntax/tcl.syntax +152 -0
- data/syntax/template_toolkit.syntax +121 -0
- data/syntax/tex.syntax +86 -0
- data/syntax/tex_math.syntax +49 -0
- data/syntax/textile.syntax +215 -0
- data/syntax/tsv.syntax +50 -0
- data/syntax/twiki.syntax +241 -0
- data/syntax/txt2tags.syntax +79 -0
- data/syntax/vectorscript.syntax +57 -0
- data/syntax/xhtml_1.0.syntax +4027 -0
- data/syntax/xml.syntax +180 -0
- data/syntax/xml_strict.syntax +92 -0
- data/syntax/xsl.syntax +60 -0
- data/syntax/yaml.syntax +160 -0
- data/syntax/yui_javascript.syntax +176 -0
- metadata +310 -0
data/syntax/lisp.syntax
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
name: Lisp
|
3
|
+
fileTypes:
|
4
|
+
- lisp
|
5
|
+
- cl
|
6
|
+
- l
|
7
|
+
- mud
|
8
|
+
- el
|
9
|
+
scopeName: source.lisp
|
10
|
+
uuid: 00D451C9-6B1D-11D9-8DFA-000D93589AF6
|
11
|
+
foldingStartMarker: \(
|
12
|
+
patterns:
|
13
|
+
- name: comment.line.semicolon.lisp
|
14
|
+
captures:
|
15
|
+
"1":
|
16
|
+
name: punctuation.definition.comment.lisp
|
17
|
+
match: (;).*$\n?
|
18
|
+
- name: meta.function.lisp
|
19
|
+
captures:
|
20
|
+
"2":
|
21
|
+
name: storage.type.function-type.lisp
|
22
|
+
"4":
|
23
|
+
name: entity.name.function.lisp
|
24
|
+
match: (\b(?i:(defun|defmethod|defmacro))\b)(\s+)((\w|\-|\!|\?)*)
|
25
|
+
- name: constant.character.lisp
|
26
|
+
captures:
|
27
|
+
"1":
|
28
|
+
name: punctuation.definition.constant.lisp
|
29
|
+
match: (#)(\w|[\\+-=<>'"&#])+
|
30
|
+
- name: variable.other.global.lisp
|
31
|
+
captures:
|
32
|
+
"1":
|
33
|
+
name: punctuation.definition.variable.lisp
|
34
|
+
"3":
|
35
|
+
name: punctuation.definition.variable.lisp
|
36
|
+
match: (\*)(\S*)(\*)
|
37
|
+
- name: keyword.control.lisp
|
38
|
+
match: \b(?i:case|do|let|loop|if|else|when)\b
|
39
|
+
- name: keyword.operator.lisp
|
40
|
+
match: \b(?i:eq|neq|and|or)\b
|
41
|
+
- name: constant.language.lisp
|
42
|
+
match: \b(?i:null|nil)\b
|
43
|
+
- name: support.function.lisp
|
44
|
+
match: \b(?i:cons|car|cdr|cond|lambda|format|setq|setf|quote|eval|append|list|listp|memberp|t|load|progn)\b
|
45
|
+
- name: constant.numeric.lisp
|
46
|
+
match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
|
47
|
+
- name: string.quoted.double.lisp
|
48
|
+
endCaptures:
|
49
|
+
"0":
|
50
|
+
name: punctuation.definition.string.end.lisp
|
51
|
+
begin: "\""
|
52
|
+
beginCaptures:
|
53
|
+
"0":
|
54
|
+
name: punctuation.definition.string.begin.lisp
|
55
|
+
end: "\""
|
56
|
+
patterns:
|
57
|
+
- name: constant.character.escape.lisp
|
58
|
+
match: \\.
|
59
|
+
foldingStopMarker: \)
|
60
|
+
keyEquivalent: ^~L
|
61
|
+
comment: ""
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
name: Literate Haskell
|
3
|
+
fileTypes:
|
4
|
+
- lhs
|
5
|
+
scopeName: text.tex.latex.haskell
|
6
|
+
uuid: 439807F5-7129-487D-B5DC-95D5272B43DD
|
7
|
+
patterns:
|
8
|
+
- name: meta.function.embedded.haskell.latex
|
9
|
+
captures:
|
10
|
+
"1":
|
11
|
+
name: support.function.be.latex
|
12
|
+
"2":
|
13
|
+
name: punctuation.definition.function.latex
|
14
|
+
"3":
|
15
|
+
name: punctuation.definition.arguments.begin.latex
|
16
|
+
"4":
|
17
|
+
name: punctuation.definition.arguments.end.latex
|
18
|
+
begin: ^((\\)begin)({)code(})(\s*\n)?
|
19
|
+
contentName: source.haskell.embedded.latex
|
20
|
+
end: ^((\\)end)({)code(})
|
21
|
+
patterns:
|
22
|
+
- include: source.haskell
|
23
|
+
- include: text.tex.latex
|
24
|
+
keyEquivalent: ^~H
|
data/syntax/logo.syntax
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
name: Logo
|
3
|
+
fileTypes: []
|
4
|
+
|
5
|
+
scopeName: source.logo
|
6
|
+
uuid: 7613EC24-B0F9-4D01-8706-1D54098BFFD8
|
7
|
+
foldingStartMarker: ^to \w+
|
8
|
+
patterns:
|
9
|
+
- name: entity.name.function.logo
|
10
|
+
match: ^to [\w.]+
|
11
|
+
- name: keyword.control.logo
|
12
|
+
match: continue|do\.until|do\.while|end|for(each)?|if(else|falsetrue|)|repeat|stop|until
|
13
|
+
- name: keyword.other.logo
|
14
|
+
match: \b(\.defmacro|\.eq|\.macro|\.maybeoutput|\.setbf|\.setfirst|\.setitem|\.setsegmentsize|allopen|allowgetset|and|apply|arc|arctan|arity|array|arrayp|arraytolist|ascii|ashift|back|background|backslashedp|beforep|bitand|bitnot|bitor|bitxor|buried|buriedp|bury|buryall|buryname|butfirst|butfirsts|butlast|bye|cascade|case|caseignoredp|catch|char|clean|clearscreen|cleartext|close|closeall|combine|cond|contents|copydef|cos|count|crossmap|cursor|define|definedp|dequeue|difference|dribble|edall|edit|editfile|edn|edns|edpl|edpls|edps|emptyp|eofp|epspict|equalp|erall|erase|erasefile|ern|erns|erpl|erpls|erps|erract|error|exp|fence|filep|fill|filter|find|first|firsts|forever|form|forward|fput|fullprintp|fullscreen|fulltext|gc|gensym|global|goto|gprop|greaterp|heading|help|hideturtle|home|ignore|int|invoke|iseq|item|keyp|label|last|left|lessp|list|listp|listtoarray|ln|load|loadnoisily|loadpict|local|localmake|log10|lowercase|lput|lshift|macroexpand|macrop|make|map|map.se|mdarray|mditem|mdsetitem|member|memberp|minus|modulo|name|namelist|namep|names|nodes|nodribble|norefresh|not|numberp|openappend|openread|openupdate|openwrite|or|output|palette|parse|pause|pen|pencolor|pendown|pendownp|penerase|penmode|penpaint|penreverse|pensize|penup|pick|plist|plistp|plists|pllist|po|poall|pon|pons|pop|popl|popls|pops|pos|pot|pots|power|pprop|prefix|primitivep|print|printdepthlimit|printwidthlimit|procedurep|procedures|product|push|queue|quoted|quotient|radarctan|radcos|radsin|random|rawascii|readchar|readchars|reader|readlist|readpos|readrawline|readword|redefp|reduce|refresh|remainder|remdup|remove|remprop|repcount|rerandom|reverse|right|round|rseq|run|runparse|runresult|save|savel|savepict|screenmode|scrunch|sentence|setbackground|setcursor|seteditor|setheading|sethelploc|setitem|setlibloc|setmargins|setpalette|setpen|setpencolor|setpensize|setpos|setprefix|setread|setreadpos|setscrunch|settemploc|settextcolor|setwrite|setwritepos|setx|setxy|sety|shell|show|shownp|showturtle|sin|splitscreen|sqrt|standout|startup|step|stepped|steppedp|substringp|sum|tag|test|text|textscreen|thing|throw|towards|trace|traced|tracedp|transfer|turtlemode|type|unbury|unburyall|unburyname|unburyonedit|unstep|untrace|uppercase|usealternatenam|wait|while|window|word|wordp|wrap|writepos|writer|xcor|ycor)\b
|
15
|
+
- name: variable.parameter.logo
|
16
|
+
captures:
|
17
|
+
"1":
|
18
|
+
name: punctuation.definition.variable.logo
|
19
|
+
match: (\:)(?:\|[^|]*\||[-\w.]*)+
|
20
|
+
- name: string.other.word.logo
|
21
|
+
match: "\"(?:\\|[^|]*\\||[-\\w.]*)+"
|
22
|
+
- name: comment.line.semicolon.logo
|
23
|
+
captures:
|
24
|
+
"1":
|
25
|
+
name: punctuation.definition.comment.logo
|
26
|
+
match: (;).*$\n?
|
27
|
+
foldingStopMarker: ^end$
|
28
|
+
keyEquivalent: ^~L
|
29
|
+
comment: Roughed out by Paul Bissex <http://e-scribe.com/news/>
|
@@ -0,0 +1,152 @@
|
|
1
|
+
---
|
2
|
+
name: Logtalk
|
3
|
+
fileTypes:
|
4
|
+
- lgt
|
5
|
+
- config
|
6
|
+
scopeName: source.logtalk
|
7
|
+
uuid: C11FA1F2-6EDB-11D9-8798-000A95DAA580
|
8
|
+
foldingStartMarker: (/\*|:-\s+(object|protocol|category)(?=[(]))
|
9
|
+
patterns:
|
10
|
+
- name: comment.block.logtalk
|
11
|
+
captures:
|
12
|
+
"0":
|
13
|
+
name: punctuation.definition.comment.logtalk
|
14
|
+
begin: /\*
|
15
|
+
end: \*/
|
16
|
+
- name: comment.line.percentage.logtalk
|
17
|
+
captures:
|
18
|
+
"1":
|
19
|
+
name: punctuation.definition.comment.logtalk
|
20
|
+
match: (%).*$\n?
|
21
|
+
- captures:
|
22
|
+
"1":
|
23
|
+
name: storage.type.opening.logtalk
|
24
|
+
"2":
|
25
|
+
name: punctuation.definition.storage.type.logtalk
|
26
|
+
"4":
|
27
|
+
name: entity.name.type.logtalk
|
28
|
+
match: ((:-)\s+(object|protocol|category|module))(?:\()([^(,)]+)
|
29
|
+
- name: storage.type.closing.logtalk
|
30
|
+
captures:
|
31
|
+
"1":
|
32
|
+
name: punctuation.definition.storage.type.logtalk
|
33
|
+
match: (:-)\s+(end_(object|protocol|category))(?=[.])
|
34
|
+
- name: storage.type.relations.logtalk
|
35
|
+
match: \b(extends|i(nstantiates|mp(orts|lements))|specializes)(?=[(])
|
36
|
+
- name: storage.modifier.others.logtalk
|
37
|
+
captures:
|
38
|
+
"1":
|
39
|
+
name: punctuation.definition.storage.modifier.logtalk
|
40
|
+
match: (:-)\s+(dynamic|threaded)(?=[.])
|
41
|
+
- name: storage.modifier.others.logtalk
|
42
|
+
captures:
|
43
|
+
"1":
|
44
|
+
name: punctuation.definition.storage.modifier.logtalk
|
45
|
+
match: (:-)\s+(calls|e(ncoding|xport)|in(itialization|fo)|uses)(?=[(])
|
46
|
+
- name: storage.modifier.others.logtalk
|
47
|
+
captures:
|
48
|
+
"1":
|
49
|
+
name: punctuation.definition.storage.modifier.logtalk
|
50
|
+
match: (:-)\s+(a(lias|tomic)|info|d(ynamic|iscontiguous)|m(eta_predicate|ode|ultifile)|p(ublic|r(otected|ivate))|op|use(s|_module))(?=[(])
|
51
|
+
- name: keyword.operator.message-sending.logtalk
|
52
|
+
match: (::|\^\^)
|
53
|
+
- name: keyword.operator.mode.logtalk
|
54
|
+
match: (\?|@)
|
55
|
+
- name: keyword.operator.comparison.term.logtalk
|
56
|
+
match: (@=<|@<|@>|@>=|==|\\==)
|
57
|
+
- name: keyword.operator.comparison.arithmetic.logtalk
|
58
|
+
match: (=<|<|>|>=|=:=|=\\=)
|
59
|
+
- name: keyword.operator.bitwise.logtalk
|
60
|
+
match: (<<|>>|/\\|\\/|\\)
|
61
|
+
- name: keyword.operator.evaluable.logtalk
|
62
|
+
match: \b(mod|rem)\b
|
63
|
+
- name: keyword.operator.evaluable.logtalk
|
64
|
+
match: (\*\*|\+|-|\*|/|//)
|
65
|
+
- name: keyword.operator.misc.logtalk
|
66
|
+
match: (:-|!|\\+|,|;|-->|->|=|\=|\.|=\.\.|\bis\b)
|
67
|
+
- name: support.function.control.logtalk
|
68
|
+
match: \b(true|fail|repeat)\b(?![()])
|
69
|
+
- name: support.function.control.logtalk
|
70
|
+
match: \b(ca(ll|tch)|throw|once)(?=[(])
|
71
|
+
- name: support.function.chars-and-bytes-io.logtalk
|
72
|
+
match: \b((get|peek|put)_(char|code|byte)|nl)(?=[(])
|
73
|
+
- name: support.function.chars-and-bytes-io.logtalk
|
74
|
+
match: \bnl\b
|
75
|
+
- name: support.function.atom-term-processing.logtalk
|
76
|
+
match: \b(atom_(length|c(hars|o(ncat|des)))|sub_atom|char_code|number_c(hars|odes))(?=[(])
|
77
|
+
- name: support.function.term-testing.logtalk
|
78
|
+
match: \b(var|atom|integer|float|atomic|compound|n(onvar|umber))(?=[(])
|
79
|
+
- name: support.function.term-io.logtalk
|
80
|
+
match: \b(read_term|read|write|write(q|_(canonical|term))|op|current_op|char_conversion|current_char_conversion)(?=[(])
|
81
|
+
- name: support.function.term-creation-and-decomposition.logtalk
|
82
|
+
match: \b(arg|copy_term|functor)(?=[(])
|
83
|
+
- name: support.function.term-unification.logtalk
|
84
|
+
match: \b(unify_with_occurs_check)(?=[(])
|
85
|
+
- name: support.function.stream-selection-and-control.logtalk
|
86
|
+
match: \b((set|current)_(in|out)put|open|close|flush_output|stream_property|at_end_of_stream|set_stream_position)(?=[(])
|
87
|
+
- name: support.function.stream-selection-and-control.logtalk
|
88
|
+
match: \b(flush_output|at_end_of_stream)\b(?![()])
|
89
|
+
- name: support.function.prolog-flags.logtalk
|
90
|
+
match: \b((set|current)_prolog_flag)(?=[(])
|
91
|
+
- name: support.function.compiling-and-loading.logtalk
|
92
|
+
match: \b(logtalk_(compile|l(ibrary_path|oad)))(?=[(])
|
93
|
+
- name: support.function.event-handling.logtalk
|
94
|
+
match: \b((abolish|define)_events|current_event)(?=[(])
|
95
|
+
- name: support.function.implementation-defined-hooks.logtalk
|
96
|
+
match: \b((current|set)_logtalk_flag|halt)(?=[(])
|
97
|
+
- name: support.function.implementation-defined-hooks.logtalk
|
98
|
+
match: \b(halt)\b
|
99
|
+
- name: support.function.entity-creation-and-abolishing.logtalk
|
100
|
+
match: \b((c(reate|urrent)|abolish)_(object|protocol|category))(?=[(])
|
101
|
+
- name: support.function.reflection.logtalk
|
102
|
+
match: \b((object|protocol|category)_property|extends_(object|protocol)|imp(orts_category|lements_protocol)|(instantiates|specializes)_class)(?=[(])
|
103
|
+
- name: support.function.logtalk
|
104
|
+
match: \b((for|retract)all)(?=[(])
|
105
|
+
- name: support.function.execution-context.logtalk
|
106
|
+
match: \b(parameter|se(lf|nder)|this)(?=[(])
|
107
|
+
- name: support.function.database.logtalk
|
108
|
+
match: \b(a(bolish|ssert(a|z))|clause|retract|retractall)(?=[(])
|
109
|
+
- name: support.function.all-solutions.logtalk
|
110
|
+
match: \b((bag|set)of|f(ind|or)all)(?=[(])
|
111
|
+
- name: support.function.multi-threading.logtalk
|
112
|
+
match: \b(threaded_(call|exit))(?=[(])
|
113
|
+
- name: support.function.reflection.logtalk
|
114
|
+
match: \b(current_predicate|predicate_property)(?=[(])
|
115
|
+
- name: support.function.event-handler.logtalk
|
116
|
+
match: \b(before|after)(?=[(])
|
117
|
+
- name: support.function.grammar-rule.logtalk
|
118
|
+
match: \b(expand_term|term_expansion|phrase)(?=[(])
|
119
|
+
- name: string.quoted.single.logtalk
|
120
|
+
endCaptures:
|
121
|
+
"0":
|
122
|
+
name: punctuation.definition.string.end.logtalk
|
123
|
+
begin: "'"
|
124
|
+
beginCaptures:
|
125
|
+
"0":
|
126
|
+
name: punctuation.definition.string.begin.logtalk
|
127
|
+
end: "'"
|
128
|
+
patterns:
|
129
|
+
- name: constant.character.escape.logtalk
|
130
|
+
match: \\.
|
131
|
+
- name: string.quoted.double.logtalk
|
132
|
+
endCaptures:
|
133
|
+
"0":
|
134
|
+
name: punctuation.definition.string.end.logtalk
|
135
|
+
begin: "\""
|
136
|
+
beginCaptures:
|
137
|
+
"0":
|
138
|
+
name: punctuation.definition.string.begin.logtalk
|
139
|
+
end: "\""
|
140
|
+
patterns:
|
141
|
+
- name: constant.character.escape.logtalk
|
142
|
+
match: \\.
|
143
|
+
- name: constant.numeric.logtalk
|
144
|
+
match: \b(0b[0-1]+|0o[0-7]+|0x\h+)\b
|
145
|
+
- name: constant.numeric.logtalk
|
146
|
+
match: \b(0'.|0''|0'")
|
147
|
+
- name: constant.numeric.logtalk
|
148
|
+
match: \b(\d+\.?\d*((e|E)(\+|-)?\d+)?)\b
|
149
|
+
- name: variable.other.logtalk
|
150
|
+
match: \b([A-Z_][A-Za-z0-9_]*)\b
|
151
|
+
foldingStopMarker: (\*/|:-\s+end_(object|protocol|category)(?=[.]))
|
152
|
+
keyEquivalent: ^~L
|
data/syntax/lua.syntax
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
name: Lua
|
3
|
+
fileTypes:
|
4
|
+
- lua
|
5
|
+
scopeName: source.lua
|
6
|
+
uuid: 93E017CC-6F27-11D9-90EB-000D93589AF7
|
7
|
+
foldingStartMarker: ^\s*\b(function|if|for)\b|{[ \t]*$|\[\[
|
8
|
+
patterns:
|
9
|
+
- name: meta.function.lua
|
10
|
+
captures:
|
11
|
+
"6":
|
12
|
+
name: punctuation.definition.parameters.end.lua
|
13
|
+
"1":
|
14
|
+
name: keyword.control.lua
|
15
|
+
"2":
|
16
|
+
name: entity.name.function.scope.lua
|
17
|
+
"3":
|
18
|
+
name: entity.name.function.lua
|
19
|
+
"4":
|
20
|
+
name: punctuation.definition.parameters.begin.lua
|
21
|
+
"5":
|
22
|
+
name: variable.parameter.function.lua
|
23
|
+
match: \b(function)\s+([a-zA-Z_.:]+[.:])?([a-zA-Z_]\w*)\s*(\()([^)]*)(\))
|
24
|
+
- name: constant.numeric.lua
|
25
|
+
match: (?<![\d.])\s0x[a-fA-F\d]+|\b\d+(\.\d+)?([eE]-?\d+)?|\.\d+([eE]-?\d+)?
|
26
|
+
- name: string.quoted.single.lua
|
27
|
+
endCaptures:
|
28
|
+
"0":
|
29
|
+
name: punctuation.definition.string.end.lua
|
30
|
+
begin: "'"
|
31
|
+
beginCaptures:
|
32
|
+
"0":
|
33
|
+
name: punctuation.definition.string.begin.lua
|
34
|
+
end: "'"
|
35
|
+
patterns:
|
36
|
+
- name: constant.character.escape.lua
|
37
|
+
match: \\.
|
38
|
+
- name: string.quoted.double.lua
|
39
|
+
endCaptures:
|
40
|
+
"0":
|
41
|
+
name: punctuation.definition.string.end.lua
|
42
|
+
begin: "\""
|
43
|
+
beginCaptures:
|
44
|
+
"0":
|
45
|
+
name: punctuation.definition.string.begin.lua
|
46
|
+
end: "\""
|
47
|
+
patterns:
|
48
|
+
- name: constant.character.escape.lua
|
49
|
+
match: \\.
|
50
|
+
- name: string.quoted.other.multiline.lua
|
51
|
+
endCaptures:
|
52
|
+
"0":
|
53
|
+
name: punctuation.definition.string.end.lua
|
54
|
+
begin: (?<!--)\[(=*)\[
|
55
|
+
beginCaptures:
|
56
|
+
"0":
|
57
|
+
name: punctuation.definition.string.begin.lua
|
58
|
+
end: \]\1\]
|
59
|
+
- name: comment.block.lua
|
60
|
+
captures:
|
61
|
+
"0":
|
62
|
+
name: punctuation.definition.comment.lua
|
63
|
+
begin: --\[(=*)\[
|
64
|
+
end: \]\1\]
|
65
|
+
- name: comment.line.double-dash.lua
|
66
|
+
captures:
|
67
|
+
"1":
|
68
|
+
name: punctuation.definition.comment.lua
|
69
|
+
match: (--)(?!\[\[).*$\n?
|
70
|
+
- name: keyword.control.lua
|
71
|
+
match: \b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|function|local|in)\b
|
72
|
+
- name: constant.language.lua
|
73
|
+
match: (?<![^.]\.|:)\b(false|nil|true|_G|_VERSION|math\.(pi|huge))\b|(?<![.])\.{3}(?!\.)
|
74
|
+
- name: variable.language.self.lua
|
75
|
+
match: (?<![^.]\.|:)\b(self)\b
|
76
|
+
- name: support.function.lua
|
77
|
+
match: (?<![^.]\.|:)\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\b(?=[( {])
|
78
|
+
- name: support.function.library.lua
|
79
|
+
match: (?<![^.]\.|:)\b(coroutine\.(create|resume|running|status|wrap|yield)|string\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(concat|insert|maxn|remove|sort)|math\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?)|io\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(cpath|loaded|loadlib|path|preload|seeall)|debug\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|traceback))\b(?=[( {])
|
80
|
+
- name: keyword.operator.lua
|
81
|
+
match: \b(and|or)\b
|
82
|
+
- name: keyword.operator.lua
|
83
|
+
match: \+|-|%|#|\*|\/|\^|==?|~=|<=?|>=?|(?<!\.)\.{2}(?!\.)
|
84
|
+
foldingStopMarker: \bend\b|^\s*}|\]\]
|
85
|
+
keyEquivalent: ^~L
|
86
|
+
comment: "Lua Syntax: version 0.8"
|
data/syntax/m.syntax
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
---
|
2
|
+
name: MATLAB
|
3
|
+
scopeName: source.matlab
|
4
|
+
uuid: 48F8858B-72FF-11D9-BFEE-000D93589AF6
|
5
|
+
foldingStartMarker: ^\s*(function|if|switch|while|for|try)\b(?!.*\bend\b).*$
|
6
|
+
patterns:
|
7
|
+
- name: storage.modifier.matlab
|
8
|
+
match: \b(varargin|varargout)\b
|
9
|
+
- name: keyword.control.matlab
|
10
|
+
match: \b(case|otherwise)\b
|
11
|
+
- name: keyword.other.matlab
|
12
|
+
match: \b(inputname|get|findobj|allchild|dbstack|stop|waitbar)\b
|
13
|
+
- name: meta.scope.expression.matlab
|
14
|
+
captures:
|
15
|
+
"0":
|
16
|
+
name: punctuation.section.scope.matlab
|
17
|
+
begin: \({2}
|
18
|
+
end: \){2}
|
19
|
+
patterns:
|
20
|
+
- include: $self
|
21
|
+
- name: meta.scope.logical-expression.matlab
|
22
|
+
captures:
|
23
|
+
"0":
|
24
|
+
name: punctuation.section.scope.matlab
|
25
|
+
begin: \[{2}
|
26
|
+
end: \]{2}
|
27
|
+
patterns:
|
28
|
+
- name: keyword.operator.logical.matlab
|
29
|
+
match: ==|~=|&|~|\|
|
30
|
+
comment: do we want a special rule for ( expr )?
|
31
|
+
- include: $self
|
32
|
+
- name: meta.scope.parens.matlab
|
33
|
+
captures:
|
34
|
+
"0":
|
35
|
+
name: punctuation.section.scope.matlab
|
36
|
+
begin: \(
|
37
|
+
end: \)
|
38
|
+
patterns:
|
39
|
+
- include: $self
|
40
|
+
- name: comment.line.percentage.matlab
|
41
|
+
captures:
|
42
|
+
"1":
|
43
|
+
name: punctuation.definition.comment.matlab
|
44
|
+
match: (%).*$\n?
|
45
|
+
- name: variable.other.transpose.matlab
|
46
|
+
match: "[a-zA-Z)\\]]'"
|
47
|
+
- name: string.quoted.single.matlab
|
48
|
+
endCaptures:
|
49
|
+
"0":
|
50
|
+
name: punctuation.definition.string.end.matlab
|
51
|
+
begin: "'"
|
52
|
+
beginCaptures:
|
53
|
+
"0":
|
54
|
+
name: punctuation.definition.string.begin.matlab
|
55
|
+
end: (')|\n
|
56
|
+
patterns:
|
57
|
+
- name: constant.character.escape.matlab
|
58
|
+
match: \\.
|
59
|
+
- name: string.quoted.double.matlab
|
60
|
+
endCaptures:
|
61
|
+
"0":
|
62
|
+
name: punctuation.definition.string.end.matlab
|
63
|
+
begin: "\""
|
64
|
+
beginCaptures:
|
65
|
+
"0":
|
66
|
+
name: punctuation.definition.string.begin.matlab
|
67
|
+
end: "\""
|
68
|
+
patterns:
|
69
|
+
- name: constant.character.escape.matlab
|
70
|
+
match: \\.
|
71
|
+
- name: keyword.other.matlab
|
72
|
+
match: \b(all_va_args|clf|endfor|if|break|endfunction|persistent|catch|endif|return|continue|endwhile|try|else|for|unwind_protect|elseif|function|unwind_protect_cleanup|end|global|while|end_try_catch|gplot|end_unwind_protect|gsplot)\b
|
73
|
+
- name: constant.language.boolean.matlab
|
74
|
+
match: \b(true|false)\b
|
75
|
+
- name: constant.language.matlab
|
76
|
+
match: \b(NaN|nan|inf|pi|Inf|realmax|realmin|eps)\b
|
77
|
+
- name: support.constant.matlab
|
78
|
+
match: \b(F_DUPFD|O_EXCL|filesep|F_GETFD|O_NONBLOCK|i|F_GETFL|O_RDONLY|F_SETFD|O_RDWR|j|F_SETFL|O_TRUNC|I|O_WRONLY|P_tmpdir|program_invocation_name|J|SEEK_CUR|program_name|NA|SEEK_END|SEEK_SET|OCTAVE_HOME|SIG|stderr|OCTAVE_VERSION|argv|stdin|O_APPEND|e|stdout|O_ASYNC|O_CREAT)\b
|
79
|
+
- name: support.variable.matlab
|
80
|
+
match: \b(DEFAULT_EXEC_PATH|ignore_function_time_stamp|DEFAULT_LOADPATH|max_recursion_depth|EDITOR|output_max_field_width|EXEC_PATH|output_precision|IMAGEPATH|page_output_immediately|INFO_FILE|page_screen_output|INFO_PROGRAM|print_answer_id_name|LOADPATH|print_empty_dimensions|MAKEINFO_PROGRAM|print_rhs_assign_val|PAGER|save_header_format_string|PS1|save_precision|PS2|saving_history|PS4|sighup_dumps_octave_core|__kluge_procbuf_delay__|sigterm_dumps_octave_core|__nargin__|silent_functions|ans|split_long_rows|automatic_replot|string_fill_char|beep_on_error|struct_levels_to_print|completion_append_char|suppress_verbose_help_message|crash_dumps_octave_core|variables_can_hide_functions|current_script_file_name|warn_assign_as_truth_value|debug_on_error|warn_divide_by_zero|debug_on_interrupt|warn_empty_list_elements|debug_on_warning|warn_fortran_indexing|debug_symtab_lookups|warn_function_name_clash|default_save_format|warn_future_time_stamp|echo_executing_commands|warn_imag_to_real|fixed_point_format|warn_matlab_incompatible|gnuplot_binary|warn_missing_semicolon|gnuplot_command_axes|warn_neg_dim_as_zero|gnuplot_command_end|warn_num_to_str|gnuplot_command_plot|warn_precedence_change|gnuplot_command_replot|warn_reload_forces_clear|gnuplot_command_splot|warn_resize_on_range_error|gnuplot_command_title|warn_separator_insert|gnuplot_command_using|warn_single_quote_string|gnuplot_command_with|warn_str_to_num|gnuplot_has_frames|warn_undefined_return_values|history_file|warn_variable_switch_label|history_size)\b
|
81
|
+
- name: keyword.other.commands.matlab
|
82
|
+
match: \b(__end__|diary|isvarname|set|casesen|echo|load|show|cd|edit_history|ls|type|chdir|format|mark_as_command|unmark_command|clear|gset|mislocked|which|dbclear|gshow|mlock|who|dbstatus|help|more|whos|dbstop|history|munlock|dbtype|hold|run_history|dbwhere|iskeyword|save)\b
|
83
|
+
- name: support.function.mapper.matlab
|
84
|
+
match: \b(abs|cos|is_nan_or_na|isnan|sign|acos|cosh|isalnum|isprint|sin|acosh|erf|isalpha|ispunct|sinh|angle|erfc|isascii|isspace|sqrt|arg|exp|iscntrl|isupper|tan|asin|finite|isdigit|isxdigit|tanh|asinh|fix|isfinite|lgamma|toascii|atan|floor|isgraph|log|tolower|atanh|gamma|isinf|log10|toupper|ceil|gammaln|islower|real|conj|imag|isna|round)\b
|
85
|
+
- name: support.function.general.matlab
|
86
|
+
match: \b(ERRNO|iscellstr|__end__|ischar|__error_text__|iscntrl|__print_symbol_info__|iscomplex|__print_symtab_info__|isdigit|abs|isempty|acos|isfield|acosh|isfinite|airy|isglobal|all|isgraph|angle|ishold|any|isieee|append|isinf|arg|iskeyword|asin|islist|asinh|islogical|assignin|islower|atan|ismatrix|atan2|isna|atanh|isnan|atexit|isnumeric|balance|isprint|besselh|ispunct|besseli|isreal|besselj|isspace|besselk|isstream|bessely|isstreamoff|betainc|isstruct|casesen|isupper|cd|isvarname|ceil|isxdigit|cell|kbhit|cellstr|keyboard|char|kill|chdir|kron|chol|lasterr|class|lastwarn|clc|length|clear|lgamma|clearplot|link|clg|linspace|closeplot|list|colloc|load|completion_matches|localtime|conj|log|cos|log10|cosh|lpsolve|cumprod|lpsolve_options|cumsum|ls|daspk|lsode|daspk_options|lsode_options|dasrt|lstat|dasrt_options|lu|dassl|mark_as_command|dassl_options|max|dbclear|min|dbstatus|mislocked|dbstop|mkdir|dbtype|mkfifo|dbwhere|mkstemp|det|mktime|diag|mlock|diary|more|disp|munlock|do_string_escapes|nargin|document|nargout|dup2|native_float_format|echo|ndims|edit_history|nth|eig|numel|endgrent|octave_config_info|endpwent|octave_tmp_file_name|erf|odessa|erfc|odessa_options|error|ones|error_text|pause|eval|pclose|evalin|permute|exec|pinv|exist|pipe|exit|popen|exp|printf|expm|prod|eye|purge_tmp_files|fclose|putenv|fcntl|puts|fdisp|pwd|feof|qr|ferror|quad|feval|quad_options|fflush|quit|fft|qz|fft2|rand|fgetl|randn|fgets|read_readline_init_file|fieldnames|readdir|file_in_loadpath|readlink|file_in_path|real|filter|rehash|find|rename|find_first_of_in_loadpath|reshape|finite|reverse|fix|rmdir|floor|round|fmod|run_history|fnmatch|save|fopen|scanf|fork|schur|format|set|fprintf|setgrent|fputs|setpwent|fread|shell_cmd|freport|show|frewind|sign|fscanf|sin|fseek|sinh|fsolve|size|fsolve_options|sleep|ftell|sort|func2str|source|functions|splice|fwrite|sprintf|gamma|sqrt|gammainc|sqrtm|gammaln|squeeze|getegid|sscanf|getenv|stat|geteuid|str2func|getgid|streamoff|getgrent|strftime|getgrgid|strptime|getgrnam|sum|getpgrp|sumsq|getpid|svd|getppid|syl|getpwent|symlink|getpwnam|system|getpwuid|tan|getrusage|tanh|getuid|tilde_expand|givens|time|glob|tmpfile|gmtime|tmpnam|graw|toascii|gset|tolower|gshow|toupper|help|type|hess|typeinfo|history|umask|hold|undo_string_escapes|home|unlink|ifft|unmark_command|ifft2|usage|imag|usleep|input|va_arg|input_event_hook|va_start|inv|vr_val|inverse|waitpid|ipermute|warning|is_nan_or_na|warranty|isalnum|which|isalpha|who|isascii|whos|isbool|zeros|iscell)\b
|
87
|
+
- name: support.function.audio.matlab
|
88
|
+
match: \b(lin2mu|mu2lin|record|setaudio|loadaudio|playaudio|saveaudio)\b
|
89
|
+
- name: support.function.control.base.matlab
|
90
|
+
match: \b(DEMOcontrol|bode_bounds|dlqe|lqe|obsv|__bodquist__|controldemo|dlqr|lqg|place|__freqresp__|ctrb|dlyap|lqr|pzmap|__stepimp__|damp|dre|lsim|rldemo|analdemo|dare|frdemo|ltifr|rlocus|are|dcgain|freqchkw|lyap|step|bddemo|dgram|gram|nichols|tzero|bode|dkalman|impulse|nyquist|tzero2)\b
|
91
|
+
- name: support.function.control.hinf.matlab
|
92
|
+
match: \b(dgkfdemo|h2syn|hinfnorm|hinfsyn_ric|dhinfdemo|hinf_ctr|hinfsyn|is_dgkf|h2norm|hinfdemo|hinfsyn_chk|wgt1o)\b
|
93
|
+
- name: invalid.deprecated.obsolete.function.control.matlab
|
94
|
+
match: \b(dezero|packsys|series|syschnames|dlqg|qzval|swapcols|unpacksys|minfo|rotg|swaprows)\b
|
95
|
+
- name: support.function.control.system.matlab
|
96
|
+
match: \b(__abcddims__|is_observable|sys2tf|sysprune|__syschnamesl__|is_sample|sys2zp|sysreorder|__syscont_disc__|is_signal_list|sysadd|sysrepdemo|__sysdefioname__|is_siso|sysappend|sysscale|__sysdefstname__|is_stabilizable|syschtsam|syssetsignals|__sysgroupn__|is_stable|sysconnect|syssub|__tf2sysl__|jet707|syscont|sysupdate|__zp2ssg2__|listidx|sysdimensions|tf2ss|abcddim|moddemo|sysdisc|tf2sys|buildssic|ord2|sysdup|tf2zp|c2d|packedform|sysgetsignals|tfout|d2c|parallel|sysgettsam|ugain|dmr2d|ss2sys|sysgettype|zp2ss|fir2sys|ss2tf|sysgroup|zp2sys|is_abcd|ss2zp|sysidx|zp2tf|is_controllable|starp|sysmin|zpout|is_detectable|sys2fir|sysmult|is_digital|sys2ss|sysout)\b
|
97
|
+
- name: support.function.control.util.matlab
|
98
|
+
match: \b(__outlist__|run_cmd|zgfmul|zgrownorm|__zgpbal__|sortcom|zgfslv|zgscal|axis2dlim|strappend|zginit|zgsgiv|prompt|swap|zgreduce|zgshsr)\b
|
99
|
+
- name: invalid.deprecated.function.matlab
|
100
|
+
match: \b(is_bool|is_matrix|is_struct|setstr|is_complex|is_scalar|is_symmetric|struct_contains|is_global|is_square|is_vector|struct_elements|is_list|is_stream|isstr)\b
|
101
|
+
- name: support.function.elfun.matlab
|
102
|
+
match: \b(acot|acsc|asec|cot|csc|gcd|sec|acoth|acsch|asech|coth|csch|lcm|sech)\b
|
103
|
+
- name: support.function.finance.matlab
|
104
|
+
match: \b(fv|fvl|irr|nper|npv|pmt|pv|pvl|rate|vol)\b
|
105
|
+
- name: support.function.general.matlab
|
106
|
+
match: \b(cart2pol|issquare|prepad|cart2sph|issymmetric|randperm|columns|isvector|rem|common_size|logical|repmat|diff|logspace|rot90|fliplr|mod|rows|flipud|nargchk|shift|ind2sub|nextpow2|sph2cart|int2str|num2str|strerror|is_duplicate_entry|perror|sub2ind|isdefinite|pol2cart|tril|isscalar|postpad|triu)\b
|
107
|
+
- name: support.function.image.matlab
|
108
|
+
match: \b(colormap|hsv2rgb|imshow|loadimage|rgb2hsv|saveimage|gray|image|ind2gray|ntsc2rgb|rgb2ind|gray2ind|imagesc|ind2rgb|ocean|rgb2ntsc)\b
|
109
|
+
- name: support.function.io.matlab
|
110
|
+
match: \b(beep)\b
|
111
|
+
- name: support.function.linear-algebra.matlab
|
112
|
+
match: \b(commutation_matrix|housh|orth|cond|krylov|qzhess|cross|krylovb|rank|dmult|logm|trace|dot|norm|vec|duplication_matrix|null|vech)\b
|
113
|
+
- name: support.function.misc.matlab
|
114
|
+
match: \b(bincoeff|dump_prefs|ispc|path|toc|bug_report|etime|isunix|popen2|unix|comma|fileparts|list_primes|semicolon|version|computer|flops|menu|tempdir|vertcat|cputime|fullfile|not|tempname|xor|delete|horzcat|pack|texas_lotto|dir|is_leap_year|paren|tic)\b
|
115
|
+
- name: support.function.plot.matlab
|
116
|
+
match: \b(__axis_label__|__plt__|loglogerr|semilogyerr|__errcomm__|__pltopt1__|mesh|shg|__errplot__|__pltopt__|meshdom|sombrero|__plr1__|axis|meshgrid|stairs|__plr2__|bar|mplot|subplot|__plr__|bottom_title|multiplot|subwindow|__plt1__|close|oneplot|title|__plt2__|contour|plot|top_title|__plt2mm__|errorbar|plot_border|xlabel|__plt2mv__|figure|polar|ylabel|__plt2ss__|grid|semilogx|zlabel|__plt2vm__|hist|semilogxerr|__plt2vv__|loglog|semilogy)\b
|
117
|
+
- name: support.function.polynomial.matlab
|
118
|
+
match: \b(compan|poly|polyfit|polyreduce|residue|conv|polyder|polyinteg|polyval|roots|deconv|polyderiv|polyout|polyvalm)\b
|
119
|
+
- name: support.function.quaternion.matlab
|
120
|
+
match: \b(demoquat|qderiv|qmult|qtransvmat|qconj|qderivmat|qtrans|quaternion|qcoordinate_plot|qinv|qtransv)\b
|
121
|
+
- name: support.function.set.matlab
|
122
|
+
match: \b(complement|create_set|intersection|union)\b
|
123
|
+
- name: support.function.signal.matlab
|
124
|
+
match: \b(arch_fit|detrend|hamming|spectral_adf|arch_rnd|diffpara|hanning|spectral_xdf|arch_test|durbinlevinson|hurst|spencer|arma_rnd|fftconv|periodogram|stft|autocor|fftfilt|rectangle_lw|synthesis|autocov|fftshift|rectangle_sw|triangle_lw|autoreg_matrix|fractdiff|sinc|triangle_sw|bartlett|freqz|sinetone|unwrap|blackman|freqz_plot|sinewave|yulewalker)\b
|
125
|
+
- name: support.function.specfun.matlab
|
126
|
+
match: \b(bessel|beta|betai|erfinv|gammai|log2|pow2)\b
|
127
|
+
- name: support.function.special-matrix.matlab
|
128
|
+
match: \b(hankel|invhilb|toeplitz|hilb|sylvester_matrix|vander)\b
|
129
|
+
- name: support.function.statistics.base.matlab
|
130
|
+
match: \b(center|iqr|median|ranks|table|cloglog|kendall|moment|run_count|values|cor|kurtosis|ols|skewness|var|corrcoef|logit|ppplot|spearman|cov|mahalanobis|probit|statistics|cut|mean|qqplot|std|gls|meansq|range|studentize)\b
|
131
|
+
- name: support.function.statistics.distributions.matlab
|
132
|
+
match: \b(beta_cdf|f_inv|normal_inv|beta_inv|f_pdf|normal_pdf|beta_pdf|f_rnd|normal_rnd|beta_rnd|gamma_cdf|pascal_cdf|binomial_cdf|gamma_inv|pascal_inv|binomial_inv|gamma_pdf|pascal_pdf|binomial_pdf|gamma_rnd|pascal_rnd|binomial_rnd|geometric_cdf|poisson_cdf|cauchy_cdf|geometric_inv|poisson_inv|cauchy_inv|geometric_pdf|poisson_pdf|cauchy_pdf|geometric_rnd|poisson_rnd|cauchy_rnd|hypergeometric_cdf|stdnormal_cdf|chisquare_cdf|hypergeometric_inv|stdnormal_inv|chisquare_inv|hypergeometric_pdf|stdnormal_pdf|chisquare_pdf|hypergeometric_rnd|stdnormal_rnd|chisquare_rnd|kolmogorov_smirnov_cdf|t_cdf|discrete_cdf|laplace_cdf|t_inv|discrete_inv|laplace_inv|t_pdf|discrete_pdf|laplace_pdf|t_rnd|discrete_rnd|laplace_rnd|uniform_cdf|empirical_cdf|logistic_cdf|uniform_inv|empirical_inv|logistic_inv|uniform_pdf|empirical_pdf|logistic_pdf|uniform_rnd|empirical_rnd|logistic_rnd|weibull_cdf|exponential_cdf|lognormal_cdf|weibull_inv|exponential_inv|lognormal_inv|weibull_pdf|exponential_pdf|lognormal_pdf|weibull_rnd|exponential_rnd|lognormal_rnd|wiener_rnd|f_cdf|normal_cdf)\b
|
133
|
+
- name: support.function.statistics.models.matlab
|
134
|
+
match: \b(logistic_regression|logistic_regression_likelihood|logistic_regression_derivatives)\b
|
135
|
+
- name: support.function.statistics.tests.matlab
|
136
|
+
match: \b(anova|prop_test_2|bartlett_test|run_test|chisquare_test_homogeneity|sign_test|chisquare_test_independence|t_test|cor_test|t_test_2|f_test_regression|t_test_regression|hotelling_test|u_test|hotelling_test_2|var_test|kolmogorov_smirnov_test|welch_test|kolmogorov_smirnov_test_2|wilcoxon_test|kruskal_wallis_test|z_test|manova|z_test_2|mcnemar_test)\b
|
137
|
+
- name: support.function.strings.matlab
|
138
|
+
match: \b(base2dec|deblank|findstr|lower|str2num|strrep|bin2dec|dec2base|hex2dec|rindex|strcat|substr|blanks|dec2bin|index|split|strcmp|upper|com2str|dec2hex|isletter|str2mat|strjust)\b
|
139
|
+
- name: support.function.time.matlab
|
140
|
+
match: \b(asctime|clock|ctime|date)\b
|
141
|
+
foldingStopMarker: ^\s*(end|return)\b.*$
|
142
|
+
keyEquivalent: ^~M
|