ultraviolet1x 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +16 -0
- data/History.txt +25 -0
- data/README.rdoc +29 -0
- data/README.txt +52 -0
- data/Rakefile +11 -0
- data/bin/theme2latexrender +122 -0
- data/bin/theme2xhtmlrender +156 -0
- data/bin/uv +140 -0
- data/broken_syntax/markdown.syntax +543 -0
- data/broken_syntax/php.syntax +1253 -0
- data/lib/uv/render_processor.rb +140 -0
- data/lib/uv/utility.rb +67 -0
- data/lib/uv/version.rb +3 -0
- data/lib/uv.rb +95 -0
- data/mm/manual.mm +840 -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/buggy/nemerle.syntax +74 -0
- data/syntax/build.syntax +53 -0
- data/syntax/bulletin_board.syntax +287 -0
- data/syntax/c++.syntax +186 -0
- data/syntax/c.syntax +414 -0
- data/syntax/cake.syntax +55 -0
- data/syntax/camlp4.syntax +36 -0
- data/syntax/cm.syntax +32 -0
- data/syntax/coffeescript.syntax +216 -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/mail.syntax +118 -0
- data/syntax/makefile.syntax +36 -0
- data/syntax/man.syntax +17 -0
- data/syntax/mediawiki.syntax +567 -0
- data/syntax/mel.syntax +92 -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/old/YAML.yaml +160 -0
- data/syntax/old/txt2tags.yaml +139 -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/pmwiki.syntax +113 -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/regular_expressions_oniguruma.syntax +107 -0
- data/syntax/regular_expressions_python.syntax +109 -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/sass.syntax +45 -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/smarty.syntax +63 -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
- data/test/ultraviolet_test.rb +17 -0
- data/test/uv_test.rb +0 -0
- data/ultraviolet1x.gemspec +22 -0
- metadata +333 -0
@@ -0,0 +1,145 @@
|
|
1
|
+
---
|
2
|
+
name: Ruby Experimental
|
3
|
+
scopeName: source.ruby.experimental
|
4
|
+
repository:
|
5
|
+
nest_function_parens:
|
6
|
+
captures:
|
7
|
+
"0":
|
8
|
+
name: punctuation.section.scope.ruby.experimental
|
9
|
+
begin: \(
|
10
|
+
contentName: meta.section.scope.ruby.experimental
|
11
|
+
end: \)
|
12
|
+
patterns:
|
13
|
+
- include: "#nest_function_parens"
|
14
|
+
- include: $self
|
15
|
+
known_function_names:
|
16
|
+
name: support.function.core.ruby
|
17
|
+
match: \b(abort_on_exception=|absolute\?|acos!|acosh!|add!|add\?|alive\?|all\?|any\?|asin!|asinh!|async=|atan!|atan2!|atanh!|attributes=|autoload\?|avail_out=|beginning_of_line\?|between\?|block_given\?|blockdev\?|bol\?|capitalize!|casefold\?|changed\?|chardev\?|charset=|chomp!|chop!|close!|closed\?|closed_read\?|closed_write\?|codepage=|collect!|comment=|compact!|const_defined\?|coredump\?|cos!|cosh!|critical=|data=|dataType=|datetime_format=|debug\?|default=|delete!|delete\?|directory\?|dn=|downcase!|dst\?|egid=|eid=|empty\?|enclosed\?|end\?|ended\?|eof\?|eos\?|eql\?|eqn\?|equal\?|error\?|event\?|exclude_end\?|executable\?|executable_real\?|exist\?|exists\?|exit!|exited\?|euid=|exp!|extensions=|fatal\?|file\?|filter=|finished\?|finite\?|flatten!|fnmatch\?|fragment=|frozen\?|fu_have_symlink\?|fu_world_writable\?|gid=|gmt\?|gregorian_leap\?|groups=|grpowned\?|gsub!|has_key\?|has_value\?|headers=|hierarchical\?|host=|identical\?|include\?|infinite\?|info\?|input\?|instance_of\?|integer\?|is_a\?|iterator\?|julian_leap\?|key\?|kind_of\?|leap\?|level=|lineno=|locked\?|log!|log10!|log=|lstrip!|map!|match\?|matched\?|max=|maxgroups=|member\?|merge!|method_defined\?|mountpoint\?|multipart\?|mtime=|multipart\?|nan\?|new!|next!|next\?|nil\?|nodeTypedValue=|nodeValue=|nonzero\?|normalize!|ns\?|ondataavailable=|onreadystatechange=|ontransformnode=|opaque=|optional\?|orig_name=|os\?|output\?|owned\?|params=|password=|path=|pipe\?|pointer=|port=|pos=|power!|preserveWhiteSpace=|priority=|private_method_defined\?|proper_subset\?|proper_superset\?|protected_method_defined\?|public_method_defined\?|query=|re_exchangeable\?|readable\?|readable_real\?|registry=|regular\?|reject!|relative\?|resolveExternals=|respond_to\?|rest\?|retval\?|reverse!|root\?|rstrip!|run\?|run=|scheme=|scope=|secure=|setgid\?|setuid\?|sid_available\?|signaled\?|sin!|singular\?|sinh!|size\?|slice!|socket\?|sort!|sqrt!|square\?|squeeze!|sticky\?|stop\?|stopped\?|stream_end\?|string=|strip!|sub!|subset\?|succ!|success\?|superset\?|swapcase!|symlink\?|sync=|sync_point\?|tainted\?|tan!|tanh!|text=|to=|tr!|tr_s!|tty\?|typecode=|uid=|uniq!|upcase!|uptodate\?|url=|user=|userinfo=|utc\?|valid_civil\?|valid_commercial\?|valid_jd\?|valid_ordinal\?|valid_time\?|validateOnParse=|value=|value\?|visible\?|warn\?|writable\?|writable_real\?|zero\?)|\b(__getobj__|__id__|__init__|__send__|__setobj__|_dump|_getproperty|_id2ref|_invoke|_load|_setproperty|abbrev|abort_on_exception|abort|abs2|absoluteChildNumber|absolute|abs|acosh|acos|add_builtin_type|add_domain_type|add_finalizer|add_observer|add_private_type|add_ruby_type|add|adler32|adler|ajd_to_amjd|ajd_to_jd|ajd|a|all_symbols|all_waits|allocate|amjd_to_ajd|amjd|ancestorChildNumber|ancestors|angle|appendChild|appendData|append_features|args|arg|arity|asctime|asinh|asin|assoc|async|at_exit|atan2|atanh|atan|atime|attributes|at|autoload|avail_in|avail_out|b64encode|backtrace|baseName|basename|base|benchmark|binding|bind|binmode|blksize|blockquote|blocks|bmbm|bm|broadcast|build2|build|call_finalizer|callcc|caller|call|capitalize|caption|captures|casecmp|cd|ceil|center|change_privilege|changed|charset_map|charset|chdir|check_until|checkbox_group|checkbox|check|childNodes|childNumber|children|chmod_R|chmod|chomp|chop|chown_R|chown|chroot|chr|civil_to_jd|civil|class_eval|class_name|class_variable_get|class_variable_set|class_variables|classify|class|cleanpath|clear|cloneNode|clone|close_read|close_write|close|cmp|codepage|coerce|collect2|collect|column_size|column_vector|column_vectors|columns|column|comment|commercial_to_jd|commercial|commit|compact|compare_by_row_vectors|compare_by|compare_file|compare_stream|compile|component_ary|component|concat|conj|conjugate|connect|const_get|const_load|const_missing|const_set|constants|conv|copy_entry|copy_file|copy_stream|copy|cosh|cos|count_observers|count|covector|cp_r|cp|crc32|crc_table|crc|createAttribute|createCDATASection|createComment|createDocumentFragment|createElement|createEntityReference|createNode|createProcessingInstruction|createTextNode|create_docfile|create_win32ole_makefile|critical|crypt|ctime|current|cwday|cweek|cwyear|dataType|data_type|data|datetime_format|day_fraction|day_fraction_to_time|day|debug|decode64|decode_b|decode|def_delegator|def_delegators|def_instance_delegator|def_instance_delegators|def_singleton_delegator|def_singleton_delegators|default_handler|default_port|default_proc|default|define_class|define_finalizer|define_define_define_instance_variables|define_method|define_method_missing|define_module|definition|deflate|deleteData|delete_at|delete_if|delete_observer|delete_observers|delete|denominator|depth|deq|detach|detect|detect_implicit|determinant|det|dev_major|dev_minor|dev|diagonal|difference|dir_foreach|dirname|disable|dispid|display|divide|divmod|div|dn|doctype|documentElement|downcase|downto|dump_stream|dump|dup|each2|each_byte|each_cons|each_document|each_entry|each_filename|each_index|each_key|each_line|each_node|each_object|each_pair|each_slice|each_value|each_with_index|each|eid|elements|emitter|enable|enclose|encode64|encode|end|england|enq|entities|entries|enum_cons|enum_for|enum_slice|enum_with_index|eof|erfc|erf|errno|errorCode|error|escapeElement|escapeHTML|escape|euid|eval|event_interface|exception|exclusive|exclusive_unlock|exec|exit_value|exitstatus|exit|expand_path|exp|extend_object|extended|extensions|extname|extract|failed|fail|fatal|fcntl|fetch|file_field|fileno|filepos|fill|filter|finalizers|find_all|find|finish|first|firstChild|flatten_merge|flatten|flock|floor|flush_next_in|flush_next_out|flush|fnmatch|for_fd|foreachline|foreach|fork|format|formatDate|formatIndex|formatNumber|formatTime|form|freeze|frexp|fsync|ftype|garbage_collect|gcdlcm|gcd|generate_args|generate_argtype|generate_argtypes|generate_class|generate_constants|generate_func_methods|generate_method_args_help|generate_method_body|generate_method_help|generate_methods|generate_method|generate_properties_with_args|generate_propget_methods|generate_propput_methods|generate_propputref_methods|generate|generic_parser|getAllResponseHeaders|getAttribute|getAttributeNode|getElementsByTagName|getNamedItem|getQualifiedItem|getResponseHeader|get_byte|getbyte|getch|getc|getegid|geteuid|getgid|getgm|getlocal|getpgid|getpgrp|getpriority|gets|getuid|getutc|getwd|gid|global_variables|glob|gmt_offset|gmtime|gmtoff|gm|grant_privilege|gregorian|grep|groups|group|gsub|guess1|guess2|guess_old|guess|guid|handler1|handler2|handler3|hasChildNodes|hasFeature|hash|header|helpcontext|helpfile|helpstring|hex|hidden|hour|html_escape|html|httpdate|hypot|h|iconv|id2name|identity|id|imag|image_button|image|img|implementation|im|included_modules|included|indexes|index|indices|induced_from|inflate|info|inherited|init_elements|initgroups|initialize_copy|inject|inner_product|ino|insertBefore|insertData|insert|inspect|install|instance_eval|instance_method|instance_methods|instance_variable_get|instance_variable_set|instance_variables|intern|intersection|inverse|inverse_from|invert|invkind|invoke|invoke_kind|inv|ioctl|isatty|isdst|iseuc|iso8601|issetugid|issjis|isutf8|italy|item|jd_to_ajd|jd_to_civil|jd_to_commercial|jd_to_ld|jd_to_mjd|jd_to_ordinal|jd_to_wday|jd|join_nowait|join|julian|kcode|kconv|keys|kill|lambda|lastChild|last_match|last|lchmod|lchown|lcm|ld_to_jd|ldexp|ld|length|level|lineno|linepos|(?<=\.)line|link|listup|list|ljust|ln_s|ln_sf|ln|loadXML|load_documents|load_file|load_stream|load|local_variables|localtime|local|lock|log10|log|lstat|lstrip|main|major_version|make_link|make_symlink|makedirs|map2|map|marshal_dump|marshal_load|matched|matched_size|matchedsize|match|maxgroups|max|mday|measure|members|memberwise|merge|message_message|method_added|method_missing|method_removed|method_undefined|methods|method|minor|minor_version|min|mjd_to_jd|mjd|mkdir_p|mkdir|mkpath|mktime|mode|module_eval|modulo|month|mon|move|mtime|multipart_form|must_C_version|mv|namespaceURI|name|navigate|nesting|new2|new_start|nextNode|nextSibling|next_wait|next|nitems|nkf|nlink|nodeFromID|nodeName|nodeType|nodeTypeString|nodeTypedValue|nodeValue|normalize|notationName|notations|notify_observers|now|num_waiting|numerator|object_id|object_maker|oct|offset_vtbl|offset|ole_classes|ole_free|ole_func_methods|ole_get_methods|ole_method|ole_method_help|ole_methods|ole_obj_help|ole_put_methods|ole_reference_count|ole_show_help|ole_type_detail|ole_type|oletypelib_name|on_event_with_outargs|on_event|ondataavailable|onreadystatechange|opendir|open|options|ordinal_to_jd|ordinal|orig_name|os_code|out|ownerDocument|pack|params|parentNode|parent|parseError|parse_documents|parse_file|parsed|parser|parse|partition|password|password_field|pass|path|peek|peep|pid|pipe|pointer|polar|popen|popup_menu|pop|post_match|pos|ppid|pre_match|prec_f|prec_i|prec|prefix|preserveWhiteSpace|pretty|previousSibling|printf|print|priority|private_class_method|private_instance_methods|private_methods|proc|progids|progid|protected_instance_methods|protected_methods|prune|publicId|public_class_method|public_instance_methods|public_methods|push|putc|puts|pwd|p|quick_emit|quote|quo|radio_button|radio_group|rand|rank|rassoc|raw_cookie|raw_cookie2|rdev_major|rdev_minor|rdev|rdiv|re_exchange|read_type_class|readchar|readlines|readline|readlink|readpartial|readyState|read|realpath|realtime|real|reason|reduce|regexp|rehash|reject|relative_path_from|remainder|removeAttribute|removeAttributeNode|removeChild|removeNamedItem|removeQualifiedItem|remove_class_variable|remove_const|remove_dir|remove_entry_secure|remove_entry|remove_file|remove_finalizer|remove_instance_variable|remove_method|remove|rename|reopen|replaceChild|replaceData|replace|request_uri|require|reset|resolveExternals|resolver|responseBody|responseStream|responseText|responseXML|rest_size|restore|restsize|rest|result|return_type_detail|return_type|return_vtype|reverse_each|reverse|rewind|rfc1123_date|rfc2822|rfc822|rid|rindex|rjust|rm_f|rm_rf|rm_r|rmdir|rmtree|rm|roots|root|round|route_from|route_to|row_size|row_vector|row_vectors|rows|row|rpower|rstrip|run|r|safe_level|safe_unlink|save(?!!)|scalar|scan_full|scan_until|scan|scope|scrolling_list|search_full|sec|seek|selectNodes|selectSingleNode|select|send|setAttribute|setAttributeNode|setNamedItem|setRequestHeader|set_attributes|set_backtrace|set_dictionary|set_dn|set_eoutvar|set_extensions|set_filter|set_fragment|set_headers|set_host|set_log|set_opaque|set_password|set_path|set_port|set_query|set_registry|set_scheme|set_scope|set_to|set_trace_func|set_typecode|set_user|set_userinfo|setegid|seteuid|setgid|setpgid|setpgrp|setpriority|setproperty|setregid|setresgid|setresuid|setreuid|setrgid|setruid|setsid|setuid|setup|shellwords|shift|signal|sin|singleton_method_added|singleton_method_removed|singleton_method_undefined|singleton_methods|sinh|size_opt_params|size_params|size|skip_until|skip|sleep|slice|sort_by|sort|source|specified|split|splitText|sprintf|sqrt|squeeze|srand|srcText|src_type|start|status|statusText|stat|step|stop_msg_stopsig|stop|store|strftime|string|strip|strptime|sub|submit|substringData|subtract|succ|success|sum|superclass|swapcase|switch|symlink|synchronize|sync|syscall|sysopen|sysread|sysseek|systemId|system|syswrite|tagName|tagurize|taint|tanh|tan|target|teardown|tell|terminate|termsig|test__invoke|test_bracket_equal_with_arg|test_class_to_s|test_const_CP_ACP|test_const_CP_MACCP|test_const_CP_OEMCP|test_const_CP_SYMBOL|test_const_CP_THREAD_ACP|test_const_CP_UTF7|test_const_CP_UTF8|test_convert_bignum|test_dispid|test_each|test_event|test_event_interface|test_get_win32ole_object|test_helpcontext|test_helpfile|test_helpstring|test_input|test_invoke_kind|test_invoke|test_name|test_no_exist_property|test_offset_vtbl|test_ole_func_methods|test_ole_get_methods|test_ole_invoke_with_named_arg|test_ole_invoke_with_named_arg_last|test_ole_method_help|test_ole_methods|test_ole_put_methods|test_ole_type|test_ole_type_detail|test_on_event|test_on_event2|test_on_event3|test_on_event4|test_openSchema|test_optional|test_output|test_return_type|test_return_type_detail|test_return_vtype|test_s_codepage|test_s_codepage_changed|test_s_codepage_set|test_s_connect|test_s_const_load|test_s_test_s_new_DCOM|test_s_new_from_clsid|test_s_ole_classes|test_s_progids|test_s_typelibs|test_setproperty|test_setproperty_bracket|test_setproperty_with_equal|test_src_type|test_to_s|test_typekind|test_value|test_variables|test_variant|test_visible|test|text_field|textarea|text|time_to_day_fraction|timeout|times|tmpdir|to_ary|to_a|to_enum|to_f|to_hash|to_int|to_io|to_i|to_mailtext|to_proc|to_rfc822text|to_r|to_set|to_str|to_sym|to_s|today|toeuc|tojis|tosjis|total_in|total_out|touch|toutf16|toutf8|tr_s|trace_var|trace|transaction|transfer|transformNode|transformNodeToObject|transpose|trap|truncate|try_implicit|try_lock|tr|tv_sec|tv_usec|typekind|typelibs|type|t|uid|umask|unbind|undef_method|undefine_finalizer|unescapeElement|unescapeHTML|unescape|ungetc|union|uniqueID|uniq|unknown|unlink|unlock|unpack|unscan|unshift|untaint|untrace_var|unused|upcase|update|upto|url_encode|url|use_registry|usec|userinfo|user|utc_offset|utc|utime|u|validateOnParse|values_at|values|value|variable_kind|variables|varkind|version|wait2|waitall|waitpid|waitpid2|wait|wakeup|warn|wday|wrap|write|xmlschema|xml|yday|year|yield|zero|zip|zlib_version|zone_offset|zone)\b
|
18
|
+
comment: |-
|
19
|
+
|
20
|
+
adding all the core methods here to provide a visual aid for spelling errors,
|
21
|
+
as long as the current theme highlights [support.function] scopes.
|
22
|
+
|
23
|
+
ie: if you miss type first as fisrt, then the word will not highlight.
|
24
|
+
leading-space:
|
25
|
+
patterns:
|
26
|
+
- name: meta.leading-tabs
|
27
|
+
begin: ^(?=(\t| ))
|
28
|
+
end: (?=[^\t\s]|\n)
|
29
|
+
patterns:
|
30
|
+
- captures:
|
31
|
+
"6":
|
32
|
+
name: meta.even-tab.group6.spaces
|
33
|
+
"11":
|
34
|
+
name: meta.odd-tab.group11.spaces
|
35
|
+
"7":
|
36
|
+
name: meta.odd-tab.group7.spaces
|
37
|
+
"8":
|
38
|
+
name: meta.even-tab.group8.spaces
|
39
|
+
"9":
|
40
|
+
name: meta.odd-tab.group9.spaces
|
41
|
+
"1":
|
42
|
+
name: meta.odd-tab.group1.spaces
|
43
|
+
"2":
|
44
|
+
name: meta.even-tab.group2.spaces
|
45
|
+
"3":
|
46
|
+
name: meta.odd-tab.group3.spaces
|
47
|
+
"4":
|
48
|
+
name: meta.even-tab.group4.spaces
|
49
|
+
"10":
|
50
|
+
name: meta.even-tab.group10.spaces
|
51
|
+
"5":
|
52
|
+
name: meta.odd-tab.group5.spaces
|
53
|
+
match: ( )( )?( )?( )?( )?( )?( )?( )?( )?( )?( )?
|
54
|
+
- captures:
|
55
|
+
"6":
|
56
|
+
name: meta.even-tab.group6.tab
|
57
|
+
"11":
|
58
|
+
name: meta.odd-tab.group11.tab
|
59
|
+
"7":
|
60
|
+
name: meta.odd-tab.group7.tab
|
61
|
+
"8":
|
62
|
+
name: meta.even-tab.group8.tab
|
63
|
+
"9":
|
64
|
+
name: meta.odd-tab.group9.tab
|
65
|
+
"1":
|
66
|
+
name: meta.odd-tab.group1.tab
|
67
|
+
"2":
|
68
|
+
name: meta.even-tab.group2.tab
|
69
|
+
"3":
|
70
|
+
name: meta.odd-tab.group3.tab
|
71
|
+
"4":
|
72
|
+
name: meta.even-tab.group4.tab
|
73
|
+
"10":
|
74
|
+
name: meta.even-tab.group10.tab
|
75
|
+
"5":
|
76
|
+
name: meta.odd-tab.group5.tab
|
77
|
+
match: (\t)(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?
|
78
|
+
uuid: C36CAB29-030A-418B-9F72-7FE6D526A408
|
79
|
+
foldingStartMarker: "(?x)^\n\
|
80
|
+
\t (\\s*+\n\
|
81
|
+
\t (module|class|def\n\
|
82
|
+
\t |unless|if\n\
|
83
|
+
\t |case\n\
|
84
|
+
\t |begin\n\
|
85
|
+
\t |for|while|until\n\
|
86
|
+
\t |( \"(\\\\.|[^\"])*+\" # eat a double quoted string\n\
|
87
|
+
\t | '(\\\\.|[^'])*+' # eat a single quoted string\n\
|
88
|
+
\t | [^#\"'] # eat all but comments and strings\n\
|
89
|
+
\t )*\n\
|
90
|
+
\t ( \\s (do|begin|case)\n\
|
91
|
+
\t | [-+=&|*/~%^<>~] \\s*+ (if|unless)\n\
|
92
|
+
\t )\n\
|
93
|
+
\t )\\b\n\
|
94
|
+
\t (?! [^;]*+ ; .*? \\bend\\b )\n\
|
95
|
+
\t |( \"(\\\\.|[^\"])*+\" # eat a double quoted string\n\
|
96
|
+
\t | '(\\\\.|[^'])*+' # eat a single quoted string\n\
|
97
|
+
\t | [^#\"'] # eat all but comments and strings\n\
|
98
|
+
\t )*\n\
|
99
|
+
\t ( \\{ (?! [^}]*+ \\} )\n\
|
100
|
+
\t | \\[ (?! [^\\]]*+ \\] )\n\
|
101
|
+
\t )\n\
|
102
|
+
\t ).*$\n\
|
103
|
+
\t| [#] .*? \\(fold\\) \\s*+ $ # Sune\xE2\x80\x99s special marker\n\
|
104
|
+
\t"
|
105
|
+
patterns:
|
106
|
+
- name: meta.function-call.method.without-arguments.ruby
|
107
|
+
begin: (?<=[^\.]\.|::)(?=[a-zA-Z][a-zA-Z0-9_!?]*[^a-zA-Z0-9_!?])
|
108
|
+
end: (?<=[a-zA-Z0-9_!?])(?=[^a-zA-Z0-9_!?])
|
109
|
+
patterns:
|
110
|
+
- include: "#known_function_names"
|
111
|
+
- name: entity.name.function.ruby
|
112
|
+
match: ([a-zA-Z][a-zA-Z0-9_!?]*)(?=[^a-zA-Z0-9_!?])
|
113
|
+
- name: meta.function-call.method.with-arguments.ruby
|
114
|
+
begin: (?<=[^\.])(?=(\.|::)[a-zA-Z][a-zA-Z0-9_!?]*\()(\.|::)
|
115
|
+
beginCaptures:
|
116
|
+
"1":
|
117
|
+
name: punctuation.separator.method.ruby
|
118
|
+
end: (?<=\))
|
119
|
+
patterns:
|
120
|
+
- include: "#nest_function_parens"
|
121
|
+
- include: "#known_function_names"
|
122
|
+
- name: entity.name.function.ruby
|
123
|
+
match: ([a-zA-Z][a-zA-Z0-9_!?]*)(?=\()
|
124
|
+
- include: $self
|
125
|
+
- name: meta.function-call.ruby
|
126
|
+
begin: (?=[a-zA-Z0-9_!?]+\()
|
127
|
+
end: (?<=\))
|
128
|
+
patterns:
|
129
|
+
- include: "#nest_function_parens"
|
130
|
+
- include: "#known_function_names"
|
131
|
+
- name: entity.name.function.ruby
|
132
|
+
match: ([a-zA-Z0-9_!?]+)(?=\()
|
133
|
+
- include: $self
|
134
|
+
- include: "#leading-space"
|
135
|
+
- include: source.ruby
|
136
|
+
- name: variable.other.ruby
|
137
|
+
match: ((?<=\W)\b|^)\w+\b(?=\s*([\]\)\}\=\+\-\*\/\^\$\,]|<\s|<<\s))
|
138
|
+
comment: This is kindof experimental. There really is no way to perfectly match all regular variables, but you can pretty well assume that any normal word in certain curcumstances that havnt already been scoped as something else are probably variables, and the advantages beat the potential errors
|
139
|
+
foldingStopMarker: "(?x)\n\
|
140
|
+
\t\t( (^|;) \\s*+ end \\s*+ ([#].*)? $\n\
|
141
|
+
\t\t| (^|;) \\s*+ end \\. .* $\n\
|
142
|
+
\t\t| ^ \\s*+ [}\\]]\\)? \\s*+ ([#].*)? $\n\
|
143
|
+
\t\t| [#] .*? \\(end\\) \\s*+ $ # Sune\xE2\x80\x99s special marker\n\
|
144
|
+
\t\t)"
|
145
|
+
keyEquivalent: ^~R
|
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
name: Ruby on Rails
|
3
|
+
fileTypes:
|
4
|
+
- rxml
|
5
|
+
scopeName: source.ruby.rails
|
6
|
+
uuid: 54D6E91E-8F31-11D9-90C5-0011242E4184
|
7
|
+
foldingStartMarker: "(?x)^\n\
|
8
|
+
\t (\\s*+\n\
|
9
|
+
\t (module|class|def\n\
|
10
|
+
\t |unless|if\n\
|
11
|
+
\t |case\n\
|
12
|
+
\t |begin\n\
|
13
|
+
\t |for|while|until\n\
|
14
|
+
\t |( \"(\\\\.|[^\"])*+\" # eat a double quoted string\n\
|
15
|
+
\t | '(\\\\.|[^'])*+' # eat a single quoted string\n\
|
16
|
+
\t | [^#\"'] # eat all but comments and strings\n\
|
17
|
+
\t )*\n\
|
18
|
+
\t ( \\s (do|begin|case)\n\
|
19
|
+
\t | [-+=&|*/~%^<>~] \\s*+ (if|unless)\n\
|
20
|
+
\t )\n\
|
21
|
+
\t )\\b\n\
|
22
|
+
\t (?! [^;]*+ ; .*? \\bend\\b )\n\
|
23
|
+
\t |( \"(\\\\.|[^\"])*+\" # eat a double quoted string\n\
|
24
|
+
\t | '(\\\\.|[^'])*+' # eat a single quoted string\n\
|
25
|
+
\t | [^#\"'] # eat all but comments and strings\n\
|
26
|
+
\t )*\n\
|
27
|
+
\t ( \\{ (?! [^}]*+ \\} )\n\
|
28
|
+
\t | \\[ (?! [^\\]]*+ \\] )\n\
|
29
|
+
\t )\n\
|
30
|
+
\t ).*$\n\
|
31
|
+
\t| [#] .*? \\(fold\\) \\s*+ $ # Sune\xE2\x80\x99s special marker\n\
|
32
|
+
\t"
|
33
|
+
patterns:
|
34
|
+
- name: meta.rails.functional_test
|
35
|
+
begin: (^\s*)(?=class\s+(([.a-zA-Z0-9_:]+ControllerTest(\s*<\s*[.a-zA-Z0-9_:]+)?)))
|
36
|
+
end: ^\1(?=end)\b
|
37
|
+
patterns:
|
38
|
+
- include: source.ruby
|
39
|
+
- include: $self
|
40
|
+
comment: Uses lookahead to match classes with the ControllerTest suffix; includes 'source.ruby' to avoid infinite recursion
|
41
|
+
- name: meta.rails.controller
|
42
|
+
begin: (^\s*)(?=class\s+(([.a-zA-Z0-9_:]+Controller\b(\s*<\s*[.a-zA-Z0-9_:]+)?)|(<<\s*[.a-zA-Z0-9_:]+)))(?!.+\bend\b)
|
43
|
+
end: ^\1(?=end)\b
|
44
|
+
patterns:
|
45
|
+
- include: source.ruby
|
46
|
+
- include: $self
|
47
|
+
comment: Uses lookahead to match classes with the Controller suffix; includes 'source.ruby' to avoid infinite recursion
|
48
|
+
- name: meta.rails.helper
|
49
|
+
begin: (^\s*)(?=module\s+((([A-Z]\w*::)*)[A-Z]\w*)Helper)
|
50
|
+
end: ^\1(?=end)\b
|
51
|
+
patterns:
|
52
|
+
- include: source.ruby
|
53
|
+
- include: $self
|
54
|
+
comment: Uses lookahead to match modules with the Helper suffix; includes 'source.ruby' to avoid infinite recursion
|
55
|
+
- name: meta.rails.mailer
|
56
|
+
begin: (^\s*)(?=class\s+(([.a-zA-Z0-9_:]+(\s*<\s*ActionMailer::Base))))
|
57
|
+
end: ^\1(?=end)\b
|
58
|
+
patterns:
|
59
|
+
- include: source.ruby
|
60
|
+
- include: $self
|
61
|
+
comment: Uses lookahead to match classes that inherit from ActionMailer::Base; includes 'source.ruby' to avoid infinite recursion
|
62
|
+
- name: meta.rails.model
|
63
|
+
begin: (^\s*)(?=class\s+.+ActiveRecord::Base)
|
64
|
+
end: ^\1(?=end)\b
|
65
|
+
patterns:
|
66
|
+
- include: source.ruby
|
67
|
+
- include: $self
|
68
|
+
comment: Uses lookahead to match classes that (may) inherit from ActiveRecord::Base; includes 'source.ruby' to avoid infinite recursion
|
69
|
+
- name: meta.rails.unit_test
|
70
|
+
begin: (^\s*)(?=class\s+(?![.a-zA-Z0-9_:]+ControllerTest)(([.a-zA-Z0-9_:]+Test(\s*<\s*[.a-zA-Z0-9_:]+)?)|(<<\s*[.a-zA-Z0-9_:]+)))
|
71
|
+
end: ^\1(?=end)\b
|
72
|
+
patterns:
|
73
|
+
- include: source.ruby
|
74
|
+
- include: $self
|
75
|
+
comment: Uses lookahead to match classes with the Test suffix; includes 'source.ruby' to avoid infinite recursion
|
76
|
+
- name: support.function.actionpack.rails
|
77
|
+
match: \b(before_filter|skip_before_filter|skip_after_filter|after_filter|around_filter|filter|filter_parameter_logging|layout|require_dependency|render|render_action|render_text|render_file|render_template|render_nothing|render_component|render_without_layout|url_for|redirect_to|redirect_to_path|redirect_to_url|helper|helper_method|model|service|observer|serialize|scaffold|verify|hide_action)\b
|
78
|
+
- name: support.function.activerecord.rails
|
79
|
+
match: \b(acts_as_list|acts_as_tree|after_create|after_destroy|after_save|after_update|after_validation|after_validation_on_create|after_validation_on_update|before_create|before_destroy|before_save|before_update|before_validation|before_validation_on_create|before_validation_on_update|composed_of|belongs_to|has_one|has_many|has_and_belongs_to_many|helper|helper_method|validate|validate_on_create|validates_numericality_of|validate_on_update|validates_acceptance_of|validates_associated|validates_confirmation_of|validates_each|validates_format_of|validates_inclusion_of|validates_length_of|validates_presence_of|validates_size_of|validates_uniqueness_of|attr_protected|attr_accessible)\b
|
80
|
+
- name: support.function.activesupport.rails
|
81
|
+
match: \b(cattr_accessor|mattr_accessor)\b
|
82
|
+
- include: source.ruby
|
83
|
+
foldingStopMarker: "(?x)\n\
|
84
|
+
\t\t( (^|;) \\s*+ end \\s*+ ([#].*)? $\n\
|
85
|
+
\t\t| ^ \\s*+ [}\\]] \\s*+ ([#].*)? $\n\
|
86
|
+
\t\t| [#] .*? \\(end\\) \\s*+ $ # Sune\xE2\x80\x99s special marker\n\
|
87
|
+
\t\t)"
|
88
|
+
keyEquivalent: ^~R
|
data/syntax/s5.syntax
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
---
|
2
|
+
name: S5 Slide Show
|
3
|
+
fileTypes:
|
4
|
+
- s5
|
5
|
+
scopeName: source.s5
|
6
|
+
uuid: 84A2047B-4453-418D-B009-A3D3C60F3D1E
|
7
|
+
foldingStartMarker: |-
|
8
|
+
(?x)
|
9
|
+
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
|
10
|
+
|<!--(?!.*-->)
|
11
|
+
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|
12
|
+
)
|
13
|
+
patterns:
|
14
|
+
- name: meta.header.s5
|
15
|
+
captures:
|
16
|
+
"1":
|
17
|
+
name: keyword.other.s5
|
18
|
+
"2":
|
19
|
+
name: punctuation.separator.key-value.s5
|
20
|
+
"3":
|
21
|
+
name: string.unquoted.s5
|
22
|
+
match: ^([A-Za-z0-9]+)(:)\s*(.*)$\n?
|
23
|
+
- begin: ^(?![A-Za-z0-9]+:)
|
24
|
+
end: ^(?=not)possible$
|
25
|
+
patterns:
|
26
|
+
- begin: (^_{10}$)
|
27
|
+
contentName: text.html.markdown.handout.s5
|
28
|
+
beginCaptures:
|
29
|
+
"1":
|
30
|
+
name: meta.separator.handout.s5
|
31
|
+
end: "(?=^(?:(?:\xE2\x9C\x82-{6})+|^#{10})$)"
|
32
|
+
patterns:
|
33
|
+
- include: text.html.markdown
|
34
|
+
comment: "\n\
|
35
|
+
\t\t\t\t\t\tname = 'meta.separator.handout.s5';\n\
|
36
|
+
\t\t\t\t\t\tmatch = '(^_{10}$)';\n\
|
37
|
+
\t\t\t\t\t"
|
38
|
+
- begin: (^#{10}$)
|
39
|
+
contentName: text.html.markdown.notes.s5
|
40
|
+
beginCaptures:
|
41
|
+
"1":
|
42
|
+
name: meta.separator.notes.s5
|
43
|
+
end: "(?=^(?:(?:\xE2\x9C\x82-{6})+|_{10})$)"
|
44
|
+
patterns:
|
45
|
+
- include: text.html.markdown
|
46
|
+
comment: "\n\
|
47
|
+
\t\t\t\t\t\tname = 'meta.separator.notes.s5';\n\
|
48
|
+
\t\t\t\t\t\tmatch = '(^#{10}$)';\n\
|
49
|
+
\t\t\t\t\t"
|
50
|
+
- begin: "^((\xE2\x9C\x82-{6})+$\\n)"
|
51
|
+
contentName: text.html.markdown.slide.s5
|
52
|
+
beginCaptures:
|
53
|
+
"1":
|
54
|
+
name: meta.separator.slide.s5
|
55
|
+
end: "(?=^(?:(?:\xE2\x9C\x82-{6})+|_{10}|#{10})$)"
|
56
|
+
patterns:
|
57
|
+
- include: text.html.markdown
|
58
|
+
comment: "\n\
|
59
|
+
\t\t\t\t\t\tname = 'meta.separator.slide.s5';\n\
|
60
|
+
\t\t\t\t\t\tmatch = '^((\xE2\x9C\x82-{6})+$\\n)';\n\
|
61
|
+
\t\t\t\t\t"
|
62
|
+
- include: text.html.markdown
|
63
|
+
foldingStopMarker: |-
|
64
|
+
(?x)
|
65
|
+
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
|
66
|
+
|^\s*-->
|
67
|
+
|(^|\s)\}
|
68
|
+
)
|
69
|
+
keyEquivalent: ^~S
|
data/syntax/sass.syntax
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
name: SASS
|
3
|
+
fileTypes: []
|
4
|
+
|
5
|
+
scopeName: source.sass
|
6
|
+
uuid: 0AB51F6F-7780-4BF2-BEE3-5405ABA6A6B9
|
7
|
+
foldingStartMarker: /\*|^#|^\*|^\b|^\.
|
8
|
+
patterns:
|
9
|
+
- name: keyword.control.untitled
|
10
|
+
match: \b(a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\b
|
11
|
+
- name: string.quoted.double.sass
|
12
|
+
begin: "\""
|
13
|
+
end: "\""
|
14
|
+
patterns:
|
15
|
+
- name: constant.character.escaped.sass
|
16
|
+
match: \\.
|
17
|
+
- name: entity.other.attribute-name.class.sass
|
18
|
+
match: \.[a-zA-Z0-9_-]+
|
19
|
+
- name: constant.other.rgb-value.sass
|
20
|
+
match: (#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b
|
21
|
+
- name: entity.other.attribute-name.id.sass
|
22
|
+
match: "#[a-zA-Z0-9_-]+"
|
23
|
+
- name: variable.parameter.sass
|
24
|
+
match: "![a-zA-Z0-9_-]+"
|
25
|
+
- name: comment.block.sass
|
26
|
+
begin: /\*
|
27
|
+
end: \*/
|
28
|
+
- name: comment.line.double-slash.sass
|
29
|
+
begin: //
|
30
|
+
end: $\n?
|
31
|
+
- name: constant.numeric.sass
|
32
|
+
match: (-|\+)?\s*[0-9]+(\.[0-9]+)?
|
33
|
+
- name: constant.other.unit.sass
|
34
|
+
match: (?<=[\d])(px|pt|cm|mm|in|em|ex|pc)\b|%
|
35
|
+
- name: variable.parameter.url
|
36
|
+
begin: url
|
37
|
+
end: \)
|
38
|
+
- name: support.type.property-name.sass
|
39
|
+
match: (:)(azimuth|background-attachment|background-color|background-image|background-position|background-repeat|background|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-collapse|border-color|border-left-color|border-left-style|border-left-width|border-left|border-right-color|border-right-style|border-right-width|border-right|border-spacing|border-style|border-top-color|border-top-style|border-top-width|border-top|border-width|border|bottom|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size-adjust|font-size|font-stretch|font-style|font-variant|font-weight|font|height|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|marker-offset|margin|marks|max-height|max-width|min-height|min-width|-moz-border-radius|orphans|outline-color|outline-style|outline-width|outline|overflow|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|pitch|play-during|position|quotes|richness|right|size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|stress|table-layout|text-align|text-decoration|text-indent|text-shadow|text-transform|top|unicode-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-spacing|z-index)\b
|
40
|
+
- name: support.constant.property-value.sass
|
41
|
+
match: \b(absolute|all-scroll|always|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|col-resize|collapse|crosshair|dashed|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|groove|hand|help|hidden|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace)\b
|
42
|
+
- name: support.constant.font-name.sass
|
43
|
+
match: (\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\b)
|
44
|
+
foldingStopMarker: \*/|^\s*$
|
45
|
+
keyEquivalent: ^~S
|