kitabu 0.4.7 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/.gitmodules +3 -0
- data/.rspec +1 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +62 -0
- data/README.rdoc +187 -0
- data/Rakefile +4 -36
- data/bin/kitabu +2 -5
- data/examples/RailsGuides/config/helper.rb +29 -0
- data/examples/RailsGuides/config/kitabu.yml +48 -0
- data/examples/RailsGuides/images/challenge.png +0 -0
- data/examples/RailsGuides/images/posts_index.png +0 -0
- data/examples/RailsGuides/images/rails_welcome.png +0 -0
- data/examples/RailsGuides/output/RailsGuides.epub +0 -0
- data/examples/RailsGuides/output/RailsGuides.html +1556 -0
- data/examples/RailsGuides/output/RailsGuides.pdf +4930 -7
- data/examples/RailsGuides/templates/cover.erb +16 -0
- data/examples/RailsGuides/templates/layout.css +352 -0
- data/examples/RailsGuides/templates/layout.erb +43 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css/idle.css → examples/RailsGuides/templates/syntax.css} +0 -0
- data/examples/RailsGuides/templates/user.css +19 -0
- data/examples/RailsGuides/text/01_Guide_Assumptions.mkdn +13 -0
- data/examples/RailsGuides/text/02_What_is_Rails.mkdn +106 -0
- data/examples/RailsGuides/text/03_Creating_a_new_Rails_project.mkdn +200 -0
- data/examples/RailsGuides/text/04_Hello_Rails.mkdn +62 -0
- data/examples/RailsGuides/text/05_Getting_Up_and_Running_Quickly_with_Scaffolding.mkdn +4 -0
- data/examples/RailsGuides/text/06_Creating_a_resource.mkdn +503 -0
- data/examples/RailsGuides/text/07_Adding_a_second_model.mkdn +232 -0
- data/examples/RailsGuides/text/08_Refactoring.mkdn +123 -0
- data/examples/RailsGuides/text/09_Deleting_comments.mkdn +57 -0
- data/examples/RailsGuides/text/09_Security.mkdn +56 -0
- data/examples/RailsGuides/text/10_Building_a_multi_model_form.mkdn +130 -0
- data/examples/RailsGuides/text/11_View_helpers.mkdn +50 -0
- data/examples/RailsGuides/text/12_Whats_next.mkdn +14 -0
- data/examples/RailsGuides/text/13_Configuration_gotchas.mkdn +10 -0
- data/kitabu.gemspec +28 -491
- data/lib/kitabu.rb +54 -46
- data/lib/kitabu/cli.rb +88 -0
- data/lib/kitabu/errors.rb +3 -0
- data/lib/kitabu/exporter.rb +81 -0
- data/lib/kitabu/extensions/redcloth.rb +65 -0
- data/lib/kitabu/extensions/string.rb +11 -0
- data/lib/kitabu/generator.rb +74 -0
- data/lib/kitabu/parser.rb +34 -0
- data/lib/kitabu/parser/epub.rb +131 -0
- data/lib/kitabu/parser/html.rb +174 -0
- data/lib/kitabu/parser/mobi.rb +17 -0
- data/lib/kitabu/parser/pdf.rb +41 -0
- data/lib/kitabu/parser/txt.rb +22 -0
- data/lib/kitabu/stream.rb +27 -0
- data/lib/kitabu/syntax.rb +109 -107
- data/lib/kitabu/toc.rb +62 -33
- data/lib/kitabu/version.rb +8 -0
- data/spec/kitabu/cli/export_spec.rb +17 -0
- data/spec/kitabu/cli/new_spec.rb +21 -0
- data/spec/kitabu/cli/permalinks_spec.rb +12 -0
- data/spec/kitabu/cli/version_spec.rb +12 -0
- data/spec/kitabu/extensions/redcloth_spec.rb +52 -0
- data/spec/kitabu/extensions/string_spec.rb +21 -0
- data/spec/kitabu/generator_spec.rb +10 -0
- data/spec/kitabu/parser/epub_spec.rb +10 -0
- data/spec/kitabu/parser/html_spec.rb +75 -0
- data/spec/kitabu/parser/pdf_spec.rb +14 -0
- data/spec/kitabu/syntax_spec.rb +80 -76
- data/spec/kitabu/toc_spec.rb +42 -68
- data/spec/kitabu_spec.rb +4 -0
- data/spec/spec_helper.rb +20 -24
- data/spec/support/exit_with_code.rb +26 -0
- data/spec/support/have_tag.rb +115 -0
- data/spec/support/helper.rb +18 -0
- data/spec/support/mybook/.gitignore +1 -0
- data/spec/support/mybook/code/.gitkeep +0 -0
- data/spec/support/mybook/code/code.rb +13 -0
- data/spec/support/mybook/config/helper.rb +29 -0
- data/spec/support/mybook/config/kitabu.yml +59 -0
- data/spec/support/mybook/images/.gitkeep +0 -0
- data/spec/support/mybook/images/logo.gif +0 -0
- data/spec/support/mybook/output/.gitkeep +0 -0
- data/spec/support/mybook/templates/cover.erb +16 -0
- data/spec/support/mybook/templates/epub.css +1 -0
- data/spec/support/mybook/templates/epub.erb +15 -0
- data/spec/support/mybook/templates/layout.css +137 -0
- data/{templates/layouts/boom/layout.html → spec/support/mybook/templates/layout.erb} +26 -17
- data/{templates/themes/mac_classic.css → spec/support/mybook/templates/syntax.css} +63 -0
- data/spec/support/mybook/templates/user.css +1 -0
- data/spec/support/mybook/text/.gitkeep +0 -0
- data/spec/support/mybook/text/01_Markdown_Chapter.markdown +8 -0
- data/spec/support/mybook/text/02_Textile_Chapter.textile +3 -0
- data/spec/support/mybook/text/03_HTML_Chapter.html +3 -0
- data/spec/support/mybook/text/04_With_Directory/Some_Chapter.mkdn +3 -0
- data/spec/support/mybook/text/CHANGELOG.textile +6 -0
- data/spec/support/mybook/text/TOC.textile +0 -0
- data/spec/support/mybook/text/_00_Introduction.markdown +3 -0
- data/spec/support/shared.rb +16 -0
- data/templates/config.erb +48 -0
- data/templates/cover.erb +16 -0
- data/templates/ebook.png +0 -0
- data/templates/epub.css +0 -0
- data/templates/epub.erb +15 -0
- data/templates/helper.rb +29 -0
- data/templates/layout.css +353 -0
- data/templates/layout.erb +44 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/active4d.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/all_hallows_eve.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/amy.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/blackboard.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/brilliance_black.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/brilliance_dull.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/cobalt.css +0 -0
- data/{lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css → templates/styles}/dawn.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/eiffel.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/espresso_libre.css +0 -0
- data/{lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css → templates/styles}/idle.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/iplastic.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/lazy.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/mac_classic.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/magicwb_amiga.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/pastels_on_dark.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/slush_poppies.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/spacecadet.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/sunburst.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/twilight.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/zenburnesque.css +0 -0
- data/templates/user.css +1 -1
- metadata +395 -501
- data/README.markdown +0 -60
- data/VERSION +0 -1
- data/lib/kitabu/base.rb +0 -271
- data/lib/kitabu/blackcloth.rb +0 -184
- data/lib/kitabu/command.rb +0 -94
- data/lib/kitabu/redcloth.rb +0 -964
- data/lib/kitabu/tasks.rb +0 -113
- data/lib/kitabu/templates.rb +0 -54
- data/lib/kitabu/vendor/colorize/colorize.rb +0 -81
- data/lib/kitabu/vendor/ruby1.8/plist/plist.rb +0 -22
- data/lib/kitabu/vendor/ruby1.8/plist/plist/generator.rb +0 -224
- data/lib/kitabu/vendor/ruby1.8/plist/plist/parser.rb +0 -224
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow.rb +0 -10
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow/debug_processor.rb +0 -36
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow/score_manager.rb +0 -65
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow/syntax.rb +0 -284
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/active4d.render +0 -140
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/all_hallows_eve.render +0 -104
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/amy.render +0 -179
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/blackboard.render +0 -119
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/brilliance_black.render +0 -560
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/brilliance_dull.render +0 -569
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/cobalt.render +0 -170
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/dawn.render +0 -134
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/eiffel.render +0 -140
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/espresso_libre.render +0 -131
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css/dawn.css +0 -121
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/idle.render +0 -101
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/iplastic.render +0 -107
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/lazy.render +0 -104
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/mac_classic.render +0 -143
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/magicwb_amiga.render +0 -125
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/pastels_on_dark.render +0 -212
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/slush_poppies.render +0 -131
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/spacecadet.render +0 -89
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/sunburst.render +0 -194
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/twilight.render +0 -161
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/zenburnesque.render +0 -134
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/actionscript.syntax +0 -97
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d.syntax +0 -276
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_html.syntax +0 -311
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_ini.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_library.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ada.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/antlr.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/apache.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/applescript.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/asp.syntax +0 -70
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/asp_vb.net.syntax +0 -129
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/bibtex.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_html.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_markdown.syntax +0 -42
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_text.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_textile.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/buggy/nemerle.syntax +0 -74
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/build.syntax +0 -53
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/bulletin_board.syntax +0 -287
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/c++.syntax +0 -109
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/c.syntax +0 -326
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/cake.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/camlp4.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/cm.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/coldfusion.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/context_free.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/cs.syntax +0 -59
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/css.syntax +0 -195
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/css_experimental.syntax +0 -1925
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/csv.syntax +0 -68
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/d.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/diff.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/dokuwiki.syntax +0 -204
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/dot.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/doxygen.syntax +0 -43
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/dylan.syntax +0 -62
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/eiffel.syntax +0 -78
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/erlang.syntax +0 -922
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/f-script.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/fortran.syntax +0 -141
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/fxscript.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/greasemonkey.syntax +0 -34
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/gri.syntax +0 -83
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/groovy.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/gtd.syntax +0 -22
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/gtdalt.syntax +0 -143
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/haml.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/haskell.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html-asp.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html.syntax +0 -362
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_django.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_for_asp.net.syntax +0 -424
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_mason.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_rails.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_tcl.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/icalendar.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/inform.syntax +0 -48
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ini.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/installer_distribution_script.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/io.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/java.syntax +0 -211
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javaproperties.syntax +0 -20
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript.syntax +0 -256
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript_+_prototype.syntax +0 -72
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript_+_prototype_bracketed.syntax +0 -140
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/jquery_javascript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/json.syntax +0 -136
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/languagedefinition.syntax +0 -708
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex.syntax +0 -566
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_beamer.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_log.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_memoir.syntax +0 -64
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lexflex.syntax +0 -219
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lighttpd.syntax +0 -54
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lilypond.syntax +0 -492
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lisp.syntax +0 -61
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/literate_haskell.syntax +0 -24
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/logo.syntax +0 -29
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/logtalk.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lua.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/m.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/macports_portfile.syntax +0 -163
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mail.syntax +0 -118
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/makefile.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/man.syntax +0 -17
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/markdown.syntax +0 -543
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mediawiki.syntax +0 -567
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mel.syntax +0 -92
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mips.syntax +0 -66
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mod_perl.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/modula-3.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/moinmoin.syntax +0 -189
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mootools.syntax +0 -572
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/movable_type.syntax +0 -162
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/multimarkdown.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/objective-c++.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/objective-c.syntax +0 -233
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocaml.syntax +0 -764
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocamllex.syntax +0 -167
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocamlyacc.syntax +0 -184
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/old/YAML.yaml +0 -160
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/old/txt2tags.yaml +0 -139
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/opengl.syntax +0 -14
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/pascal.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/perl.syntax +0 -1115
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/php.syntax +0 -1253
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/plain_text.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/pmwiki.syntax +0 -113
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/postscript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/processing.syntax +0 -106
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/prolog.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/property_list.syntax +0 -635
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/python.syntax +0 -868
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/python_django.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/qmake_project.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/qt_c++.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/quake3_config.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/r.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/r_console.syntax +0 -16
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ragel.syntax +0 -201
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/rd_r_documentation.syntax +0 -91
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/regexp.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/regular_expressions_oniguruma.syntax +0 -107
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/regular_expressions_python.syntax +0 -109
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/release_notes.syntax +0 -46
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/remind.syntax +0 -253
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/restructuredtext.syntax +0 -250
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/rez.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby.syntax +0 -1035
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby_experimental.syntax +0 -145
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby_on_rails.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/s5.syntax +0 -69
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/scheme.syntax +0 -347
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/scilab.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/setext.syntax +0 -147
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/shell-unix-generic.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/slate.syntax +0 -149
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/smarty.syntax +0 -63
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/sql.syntax +0 -237
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/sql_rails.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ssh-config.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/standard_ml.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/strings_file.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/subversion_commit_message.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/sweave.syntax +0 -84
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/swig.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tcl.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/template_toolkit.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tex.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tex_math.syntax +0 -49
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/textile.syntax +0 -215
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tsv.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/twiki.syntax +0 -241
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/txt2tags.syntax +0 -79
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/vectorscript.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xhtml_1.0.syntax +0 -4027
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xml.syntax +0 -180
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xml_strict.syntax +0 -92
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xsl.syntax +0 -60
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/yaml.syntax +0 -160
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/yui_javascript.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.8/uv/uv.rb +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/uv/render_processor.rb +0 -131
- data/lib/kitabu/vendor/ruby1.8/uv/uv/utility.rb +0 -67
- data/lib/kitabu/vendor/ruby1.9/plist/plist.rb +0 -23
- data/lib/kitabu/vendor/ruby1.9/plist/plist/generator.rb +0 -228
- data/lib/kitabu/vendor/ruby1.9/plist/plist/parser.rb +0 -225
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow.rb +0 -10
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow/debug_processor.rb +0 -37
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow/score_manager.rb +0 -66
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow/syntax.rb +0 -286
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/active4d.render +0 -140
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/all_hallows_eve.render +0 -104
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/amy.render +0 -179
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/blackboard.render +0 -119
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/brilliance_black.render +0 -560
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/brilliance_dull.render +0 -569
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/cobalt.render +0 -170
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/dawn.render +0 -134
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/eiffel.render +0 -140
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/espresso_libre.render +0 -131
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/active4d.css +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/all_hallows_eve.css +0 -72
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/amy.css +0 -147
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/blackboard.css +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/brilliance_black.css +0 -605
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/brilliance_dull.css +0 -599
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/cobalt.css +0 -149
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/eiffel.css +0 -121
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/espresso_libre.css +0 -109
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/iplastic.css +0 -80
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/lazy.css +0 -73
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/mac_classic.css +0 -123
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/magicwb_amiga.css +0 -104
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/pastels_on_dark.css +0 -188
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/slush_poppies.css +0 -85
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/spacecadet.css +0 -51
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/sunburst.css +0 -180
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/twilight.css +0 -137
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/zenburnesque.css +0 -91
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/idle.render +0 -101
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/iplastic.render +0 -107
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/lazy.render +0 -104
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/mac_classic.render +0 -143
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/magicwb_amiga.render +0 -125
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/pastels_on_dark.render +0 -212
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/slush_poppies.render +0 -131
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/spacecadet.render +0 -89
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/sunburst.render +0 -194
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/twilight.render +0 -161
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/zenburnesque.render +0 -134
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/actionscript.syntax +0 -97
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d.syntax +0 -276
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_html.syntax +0 -311
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_ini.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_library.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ada.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/antlr.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/apache.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/applescript.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/asp.syntax +0 -70
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/asp_vb.net.syntax +0 -129
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/bibtex.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_html.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_markdown.syntax +0 -42
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_text.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_textile.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/build.syntax +0 -53
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/bulletin_board.syntax +0 -287
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/cake.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/camlp4.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/cm.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/coldfusion.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/context_free.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/cs.syntax +0 -59
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/css.syntax +0 -195
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/css_experimental.syntax +0 -1925
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/csv.syntax +0 -68
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/d.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/diff.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/dokuwiki.syntax +0 -204
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/dot.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/doxygen.syntax +0 -43
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/dylan.syntax +0 -62
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/eiffel.syntax +0 -78
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/erlang.syntax +0 -922
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/f-script.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/fortran.syntax +0 -141
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/fxscript.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/greasemonkey.syntax +0 -34
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/gri.syntax +0 -83
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/groovy.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/gtd.syntax +0 -22
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/gtdalt.syntax +0 -143
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/haml.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/haskell.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html-asp.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html.syntax +0 -362
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_django.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_for_asp.net.syntax +0 -424
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_mason.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_rails.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_tcl.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/icalendar.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/inform.syntax +0 -48
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ini.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/installer_distribution_script.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/io.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/java.syntax +0 -211
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javaproperties.syntax +0 -20
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript.syntax +0 -256
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript_+_prototype.syntax +0 -72
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript_+_prototype_bracketed.syntax +0 -140
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/jquery_javascript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/json.syntax +0 -136
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/languagedefinition.syntax +0 -708
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex.syntax +0 -566
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_beamer.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_log.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_memoir.syntax +0 -64
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lexflex.syntax +0 -219
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lighttpd.syntax +0 -54
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lilypond.syntax +0 -492
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lisp.syntax +0 -61
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/literate_haskell.syntax +0 -24
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/logo.syntax +0 -29
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/logtalk.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lua.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/m.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/macports_portfile.syntax +0 -163
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/makefile.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/man.syntax +0 -17
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mediawiki.syntax +0 -567
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mips.syntax +0 -66
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mod_perl.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/modula-3.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/moinmoin.syntax +0 -189
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mootools.syntax +0 -572
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/movable_type.syntax +0 -162
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/multimarkdown.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/objective-c++.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/objective-c.syntax +0 -233
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocaml.syntax +0 -764
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocamllex.syntax +0 -167
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocamlyacc.syntax +0 -184
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/opengl.syntax +0 -14
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/pascal.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/perl.syntax +0 -1115
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/plain_text.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/postscript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/processing.syntax +0 -106
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/prolog.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/property_list.syntax +0 -635
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/python.syntax +0 -868
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/python_django.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/qmake_project.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/qt_c++.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/quake3_config.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/r.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/r_console.syntax +0 -16
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ragel.syntax +0 -201
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/rd_r_documentation.syntax +0 -91
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/regexp.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/release_notes.syntax +0 -46
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/remind.syntax +0 -253
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/restructuredtext.syntax +0 -250
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/rez.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby.syntax +0 -1035
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby_experimental.syntax +0 -145
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby_on_rails.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/s5.syntax +0 -69
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/scheme.syntax +0 -347
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/scilab.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/setext.syntax +0 -147
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/shell-unix-generic.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/slate.syntax +0 -149
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/sql.syntax +0 -237
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/sql_rails.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ssh-config.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/standard_ml.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/strings_file.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/subversion_commit_message.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/sweave.syntax +0 -84
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/swig.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tcl.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/template_toolkit.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tex.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tex_math.syntax +0 -49
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/textile.syntax +0 -215
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tsv.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/twiki.syntax +0 -241
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/txt2tags.syntax +0 -79
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/vectorscript.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xhtml_1.0.syntax +0 -4027
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xml.syntax +0 -180
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xml_strict.syntax +0 -92
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xsl.syntax +0 -60
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/yaml.syntax +0 -160
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/yui_javascript.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.9/uv/uv.rb +0 -89
- data/lib/kitabu/vendor/ruby1.9/uv/uv/render_processor.rb +0 -132
- data/lib/kitabu/vendor/ruby1.9/uv/uv/utility.rb +0 -68
- data/spec/exit_matcher.rb +0 -45
- data/spec/fixtures/rails-guides/code/sample.rb +0 -7
- data/spec/kitabu/base_spec.rb +0 -159
- data/spec/kitabu/blackcloth_spec.rb +0 -41
- data/spec/kitabu/bug_fix_spec.rb +0 -25
- data/spec/kitabu/command_spec.rb +0 -82
- data/templates/Rakefile +0 -3
- data/templates/config.yml +0 -9
- data/templates/layouts/boom/layout.css +0 -469
- data/templates/syntax.css +0 -1065
- data/templates/themes/active4d.css +0 -114
- data/templates/themes/blackboard.css +0 -88
- data/templates/themes/dawn.css +0 -121
- data/templates/themes/eiffel.css +0 -121
- data/templates/themes/idle.css +0 -62
- data/templates/themes/iplastic.css +0 -80
- data/templates/themes/lazy.css +0 -73
- data/templates/themes/slush_poppies.css +0 -85
- data/templates/themes/sunburst.css +0 -180
@@ -1,47 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Graphviz (DOT)
|
3
|
-
fileTypes:
|
4
|
-
- dot
|
5
|
-
- DOT
|
6
|
-
scopeName: source.dot
|
7
|
-
uuid: 1A53D54E-6B1D-11D9-A006-000D93589AF6
|
8
|
-
foldingStartMarker: \{
|
9
|
-
patterns:
|
10
|
-
- name: storage.type.dot
|
11
|
-
match: \b(node|edge|graph|digraph|subgraph|strict)\b
|
12
|
-
- name: support.constant.attribute.node.dot
|
13
|
-
match: \b(bottomlabel|color|comment|distortion|fillcolor|fixedsize|fontcolor|fontname|fontsize|group|height|label|layer|orientation|peripheries|regular|shape|shapefile|sides|skew|style|toplabel|URL|width|z)\b
|
14
|
-
- name: support.constant.attribute.edge.dot
|
15
|
-
match: \b(arrowhead|arrowsize|arrowtail|color|comment|constraint|decorate|dir|fontcolor|fontname|fontsize|headlabel|headport|headURL|label|labelangle|labeldistance|labelfloat|labelcolor|labelfontname|labelfontsize|layer|lhead|ltail|minlen|samehead|sametail|style|taillabel|tailport|tailURL|weight)\b
|
16
|
-
- name: support.constant.attribute.graph.dot
|
17
|
-
match: \b(bgcolor|center|clusterrank|color|comment|compound|concentrate|fillcolor|fontname|fontpath|fontsize|label|labeljust|labelloc|layers|margin|mclimit|nodesep|nslimit|nslimit1|ordering|orientation|page|pagedir|quantum|rank|rankdir|ranksep|ratio|remincross|rotate|samplepoints|searchsize|size|style|URL)\b
|
18
|
-
- name: string.quoted.double.dot
|
19
|
-
endCaptures:
|
20
|
-
"0":
|
21
|
-
name: punctuation.definition.string.end.dot
|
22
|
-
begin: "\""
|
23
|
-
beginCaptures:
|
24
|
-
"0":
|
25
|
-
name: punctuation.definition.string.begin.dot
|
26
|
-
end: "\""
|
27
|
-
patterns:
|
28
|
-
- name: constant.character.escape.dot
|
29
|
-
match: \\.
|
30
|
-
- name: comment.line.double-slash.dot
|
31
|
-
captures:
|
32
|
-
"1":
|
33
|
-
name: punctuation.definition.comment.dot
|
34
|
-
match: (//).*$\n?
|
35
|
-
- name: comment.line.number-sign.dot
|
36
|
-
captures:
|
37
|
-
"1":
|
38
|
-
name: punctuation.definition.comment.dot
|
39
|
-
match: (#).*$\n?
|
40
|
-
- name: comment.block.dot
|
41
|
-
captures:
|
42
|
-
"0":
|
43
|
-
name: punctuation.definition.comment.dot
|
44
|
-
begin: /\*
|
45
|
-
end: \*/
|
46
|
-
foldingStopMarker: \}
|
47
|
-
keyEquivalent: ^~G
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Doxygen
|
3
|
-
fileTypes:
|
4
|
-
- doxygen
|
5
|
-
scopeName: text.html.doxygen
|
6
|
-
repository:
|
7
|
-
source_doxygen:
|
8
|
-
patterns:
|
9
|
-
- include: "#keywords"
|
10
|
-
- include: text.html.basic
|
11
|
-
keywords:
|
12
|
-
patterns:
|
13
|
-
- name: keyword.control.doxygen
|
14
|
-
captures:
|
15
|
-
"1":
|
16
|
-
name: punctuation.definition.keyword.doxygen
|
17
|
-
match: ([\\@])((a|addindex|addtogroup|anchor|arg|attention|author|b|brief|bug|c|callgraph|callergraph|category|class|code|cond|copydoc|date|def|defgroup|deprecated|dir|dontinclude|dot|dotfile|e|else|elseif|em|endcode|endcond|enddot|endhtmlonly|endif|endlatexonly|endlink|endmanonly|endverbatim|endxmlonly|enum|example|exception|file|fn|hideinitializer|htmlinclude|htmlonly|if|ifnot|image|include|includelineno|ingroup|internal|invariant|interface|latexonly|li|line|link|mainpage|manonly|n|name|namespace|nosubgrouping|note|overload|p|package|page|par|paragraph|param|post|pre|private|privatesection|property|protected|protectedsection|protocol|public|publicsection|ref|relates|relatesalso|remarks|return|retval|sa|section|see|showinitializer|since|skip|skipline|struct|subpage|subsection|subsubsection|test|throw|todo|typedef|union|until|var|verbatim|verbinclude|version|warning|weakgroup|xmlonly|xrefitem)\b|(\$|\@|\\|\&|\~|\<|\>|\#|\%|f\$|f\[|f\]))
|
18
|
-
uuid: 9725E602-6D7C-4E98-911A-C66802142451
|
19
|
-
patterns:
|
20
|
-
- name: comment.block.doxygen
|
21
|
-
captures:
|
22
|
-
"0":
|
23
|
-
name: punctuation.definition.comment.doxygen
|
24
|
-
begin: \/\*\*\<?
|
25
|
-
end: \*\/
|
26
|
-
patterns:
|
27
|
-
- include: "#source_doxygen"
|
28
|
-
- name: comment.block.doxygen
|
29
|
-
captures:
|
30
|
-
"0":
|
31
|
-
name: punctuation.definition.comment.doxygen
|
32
|
-
begin: \/\*!\<?
|
33
|
-
end: \*\/
|
34
|
-
patterns:
|
35
|
-
- include: "#source_doxygen"
|
36
|
-
- name: comment.line.doxygen
|
37
|
-
begin: \/\/[\/!]\<?
|
38
|
-
beginCaptures:
|
39
|
-
"0":
|
40
|
-
name: punctuation.definition.comment.doxygen
|
41
|
-
end: $\n?
|
42
|
-
patterns:
|
43
|
-
- include: "#source_doxygen"
|
@@ -1,62 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Dylan
|
3
|
-
fileTypes:
|
4
|
-
- dylan
|
5
|
-
scopeName: source.dylan
|
6
|
-
uuid: 475B8369-3520-4B4C-BBA1-1D1229C6F397
|
7
|
-
foldingStartMarker: \b(define|begin|block)\b
|
8
|
-
patterns:
|
9
|
-
- name: comment.block.dylan
|
10
|
-
captures:
|
11
|
-
"0":
|
12
|
-
name: punctuation.definition.comment.dylan
|
13
|
-
begin: /\*
|
14
|
-
end: \*/
|
15
|
-
comment: TODO -- Dylan allows nested comments.
|
16
|
-
- name: comment.line.double-slash.dylan
|
17
|
-
begin: //
|
18
|
-
beginCaptures:
|
19
|
-
"0":
|
20
|
-
name: punctuation.definition.comment.dylan
|
21
|
-
end: $\n?
|
22
|
-
patterns:
|
23
|
-
- name: punctuation.separator.continuation.dylan
|
24
|
-
match: (?>\\\s*\n)
|
25
|
-
- name: meta.function.dylan
|
26
|
-
captures:
|
27
|
-
"1":
|
28
|
-
name: keyword.control.def.dylan
|
29
|
-
"2":
|
30
|
-
name: storage.modifier.dylan
|
31
|
-
"3":
|
32
|
-
name: storage.type.function.dylan
|
33
|
-
"4":
|
34
|
-
name: entity.name.function.dylan
|
35
|
-
begin: \b(define\s+)((?:sealed|inline)\s)?(method|function)\s+([A-Za-z0-9\\-]*[!?]?)\s
|
36
|
-
end: \)
|
37
|
-
- name: keyword.control.dylan
|
38
|
-
match: \b(?<!-)(begin|block|case|class|constant|define|domain|else|end|for|function|handler|if|inline|let|library|local|macro|method|module|otherwise|select|unless|until|variable|when|while)(?![:-])\b
|
39
|
-
- name: support.constant.language.dylan
|
40
|
-
match: (#t|#f|#next|#rest|#key|#all-keys|#include)
|
41
|
-
- name: keyword.control.sealing-directives.dylan
|
42
|
-
match: \b(sealed|open|abstract|concrete|primary|free)\b
|
43
|
-
- name: constant.numeric.dylan
|
44
|
-
match: \b((#x[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)\b
|
45
|
-
- name: string.quoted.double.dylan
|
46
|
-
endCaptures:
|
47
|
-
"0":
|
48
|
-
name: punctuation.definition.string.end.dylan
|
49
|
-
begin: "\""
|
50
|
-
beginCaptures:
|
51
|
-
"0":
|
52
|
-
name: punctuation.definition.string.begin.dylan
|
53
|
-
end: "\""
|
54
|
-
patterns:
|
55
|
-
- name: constant.character.escape.dylan
|
56
|
-
match: \\.
|
57
|
-
- name: support.class.dylan
|
58
|
-
match: <(abort|array|boolean|byte-string|character|class|collection|complex|condition|deque|double-float|empty-list|error|explicit-key-collection|extended-float|float|function|generic-function|integer|list|method|mutable-collection|mutable-explicit-key-collection|mutable-sequence|number|object-table|object|pair|range|rational|real|restart|sealed-object-error|sequence|serious-condition|simple-error|simple-object-vector|simple-restart|simple-vector|simple-warning|single-float|singleton|stretchy-collection|stretchy-vector|string|symbol|table|type-error|type|unicode-string|vector|warning)>
|
59
|
-
- name: support.function.dylan
|
60
|
-
match: \b(?<!-)(abort|abs|add|add!|add-method|add-new|add-new!|all-superclasses|always|any?|applicable-method?|apply|aref|aref-setter|as|as-lowercase|as-lowercase!|as-uppercase|as-uppercase!|ash|backward-iteration-protocol|break|ceiling|ceiling/|cerror|check-type|choose|choose-by|complement|compose|concatenate|concatenate-as|condition-format-arguments|condition-format-string|conjoin|copy-sequence|curry|default-handler|dimension|dimensions|direct-subclasses|direct-superclasses|disjoin|do|do-handlers|element|element-setter|empty?|error|even?|every?|fill!|find-key|find-method|first|first-setter|floor|floor/|forward-iteration-protocol|function-arguments|function-return-values|function-specializers|gcd|generic-function-mandatory-|keywords|generic-function-methods|head|head-setter|identity|initialize|instance?|integral?|intersection|key-sequence|key-test|last|last-setter|lcm|limited|list|logand|logbit?|logior|lognot|logxor|make|map|map-as|map-into|max|member?|merge-hash-codes|min|modulo|negative|negative?|object-class|object-hash|odd?|pair|pop|pop-last|positive?|push|push-last|range|rank|rcurry|reduce|reduce1|remainder|remove|remove!|remove-duplicates|remove-duplicates!|remove-key!|remove-method|replace-elements!|replace-subsequence!|restart-query|return-allowed?|return-description|return-query|reverse|reverse!|round|round/|row-major-index|second|second-setter|shallow-copy|signal|singleton|size|size-setter|slot-initialized?|sort|sort!|sorted-applicable-methods|subsequence-position|subtype?|table-protocol|tail|tail-setter|third|third-setter|truncate|truncate/|type-error-expected-type|type-error-value|type-for-copy|type-union|union|values|vector|zero?)(?![:-])\b
|
61
|
-
foldingStopMarker: \bend\b
|
62
|
-
keyEquivalent: ^~D
|
@@ -1,78 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Eiffel
|
3
|
-
fileTypes:
|
4
|
-
- e
|
5
|
-
scopeName: source.eiffel
|
6
|
-
repository:
|
7
|
-
number:
|
8
|
-
match: "[0-9]+"
|
9
|
-
variable:
|
10
|
-
match: "[a-zA-Z0-9_]+"
|
11
|
-
uuid: 34672373-DED9-45B8-AF7E-2E4B6C3D6B76
|
12
|
-
foldingStartMarker: (class|once|do|external)
|
13
|
-
patterns:
|
14
|
-
- name: comment.line.double-dash.eiffel
|
15
|
-
captures:
|
16
|
-
"1":
|
17
|
-
name: punctuation.definition.comment.eiffel
|
18
|
-
match: (--).*$\n?
|
19
|
-
- name: keyword.control.eiffel
|
20
|
-
match: \b(Indexing|indexing|deferred|expanded|class|inherit|rename|as|export|undefine|redefine|select|all|create|creation|feature|prefix|infix|separate|frozen|obsolete|local|is|unique|do|once|external|alias|require|ensure|invariant|variant|rescue|retry|like|check|if|else|elseif|then|inspect|when|from|loop|until|debug|not|or|and|xor|implies|old|end)\b
|
21
|
-
- name: variable.other.eiffel
|
22
|
-
match: "[a-zA-Z_]+"
|
23
|
-
- name: constant.language.eiffel
|
24
|
-
match: \b(True|true|False|false|Void|void|Result|result)\b
|
25
|
-
- name: meta.features.eiffel
|
26
|
-
begin: feature
|
27
|
-
end: end
|
28
|
-
- name: meta.effective_routine_body.eiffel
|
29
|
-
begin: (do|once)
|
30
|
-
end: (ensure|end)
|
31
|
-
- name: meta.rescue.eiffel
|
32
|
-
begin: rescue
|
33
|
-
end: end
|
34
|
-
- name: string.quoted.double.eiffel
|
35
|
-
endCaptures:
|
36
|
-
"0":
|
37
|
-
name: punctuation.definition.string.end.eiffel
|
38
|
-
begin: "\""
|
39
|
-
beginCaptures:
|
40
|
-
"0":
|
41
|
-
name: punctuation.definition.string.begin.eiffel
|
42
|
-
end: "\""
|
43
|
-
patterns:
|
44
|
-
- name: constant.character.escape.eiffel
|
45
|
-
match: \\.
|
46
|
-
- name: constant.numeric.eiffel
|
47
|
-
match: "[0-9]+"
|
48
|
-
- name: storage.modifier.eiffel
|
49
|
-
match: \b(deferred|expanded)\b
|
50
|
-
- name: meta.definition.class.eiffel
|
51
|
-
captures:
|
52
|
-
"1":
|
53
|
-
name: storage.modifier.eiffel
|
54
|
-
begin: |-
|
55
|
-
^\s*
|
56
|
-
((?:\b(deferred|expanded)\b\s*)*) # modifier
|
57
|
-
(class)\s+
|
58
|
-
(\w+)\s* # identifier
|
59
|
-
end: (?=end)
|
60
|
-
patterns:
|
61
|
-
- name: meta.definition.class.extends.java
|
62
|
-
captures:
|
63
|
-
"1":
|
64
|
-
name: storage.modifier.java
|
65
|
-
begin: \b(extends)\b\s+
|
66
|
-
end: (?={|implements)
|
67
|
-
patterns:
|
68
|
-
- include: "#all-types"
|
69
|
-
- name: meta.definition.class.implements.java
|
70
|
-
captures:
|
71
|
-
"1":
|
72
|
-
name: storage.modifier.java
|
73
|
-
begin: \b(implements)\b\s+
|
74
|
-
end: (?={|extends)
|
75
|
-
patterns:
|
76
|
-
- include: "#all-types"
|
77
|
-
foldingStopMarker: (ensure|end)
|
78
|
-
keyEquivalent: ^~E
|
@@ -1,922 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Erlang
|
3
|
-
fileTypes:
|
4
|
-
- erl
|
5
|
-
- hrl
|
6
|
-
scopeName: source.erlang
|
7
|
-
repository:
|
8
|
-
macro-usage:
|
9
|
-
name: meta.macro-usage.erlang
|
10
|
-
captures:
|
11
|
-
"1":
|
12
|
-
name: keyword.operator.macro.erlang
|
13
|
-
"2":
|
14
|
-
name: entity.name.function.macro.erlang
|
15
|
-
match: (\?\??)\s*+([a-zA-Z\d@_]++)
|
16
|
-
list:
|
17
|
-
name: meta.structure.list.erlang
|
18
|
-
endCaptures:
|
19
|
-
"1":
|
20
|
-
name: punctuation.definition.list.end.erlang
|
21
|
-
begin: (\[)
|
22
|
-
beginCaptures:
|
23
|
-
"1":
|
24
|
-
name: punctuation.definition.list.begin.erlang
|
25
|
-
end: (\])
|
26
|
-
patterns:
|
27
|
-
- name: punctuation.separator.list.erlang
|
28
|
-
match: \||\|\||,
|
29
|
-
- include: "#everything-else"
|
30
|
-
import-export-directive:
|
31
|
-
patterns:
|
32
|
-
- name: meta.directive.import.erlang
|
33
|
-
endCaptures:
|
34
|
-
"1":
|
35
|
-
name: punctuation.definition.parameters.end.erlang
|
36
|
-
"2":
|
37
|
-
name: punctuation.section.directive.end.erlang
|
38
|
-
begin: ^\s*+(-)\s*+(import)\s*+(\()\s*+([a-z][a-zA-Z\d@_]*+)\s*+(,)
|
39
|
-
beginCaptures:
|
40
|
-
"1":
|
41
|
-
name: punctuation.section.directive.begin.erlang
|
42
|
-
"2":
|
43
|
-
name: keyword.control.directive.import.erlang
|
44
|
-
"3":
|
45
|
-
name: punctuation.definition.parameters.begin.erlang
|
46
|
-
"4":
|
47
|
-
name: entity.name.type.class.module.erlang
|
48
|
-
"5":
|
49
|
-
name: punctuation.separator.parameters.erlang
|
50
|
-
end: (\))\s*+(\.)
|
51
|
-
patterns:
|
52
|
-
- include: "#internal-function-list"
|
53
|
-
- name: meta.directive.export.erlang
|
54
|
-
endCaptures:
|
55
|
-
"1":
|
56
|
-
name: punctuation.definition.parameters.end.erlang
|
57
|
-
"2":
|
58
|
-
name: punctuation.section.directive.end.erlang
|
59
|
-
begin: ^\s*+(-)\s*+(export)\s*+(\()
|
60
|
-
beginCaptures:
|
61
|
-
"1":
|
62
|
-
name: punctuation.section.directive.begin.erlang
|
63
|
-
"2":
|
64
|
-
name: keyword.control.directive.export.erlang
|
65
|
-
"3":
|
66
|
-
name: punctuation.definition.parameters.begin.erlang
|
67
|
-
end: (\))\s*+(\.)
|
68
|
-
patterns:
|
69
|
-
- include: "#internal-function-list"
|
70
|
-
symbolic-operator:
|
71
|
-
name: keyword.operator.symbolic.erlang
|
72
|
-
match: \+\+|\+|--|-|\*|/=|/|=/=|=:=|==|=<|=|<-|<|>=|>|!
|
73
|
-
number:
|
74
|
-
begin: (?=\d)
|
75
|
-
end: (?!\d)
|
76
|
-
patterns:
|
77
|
-
- name: constant.numeric.float.erlang
|
78
|
-
captures:
|
79
|
-
"1":
|
80
|
-
name: punctuation.separator.integer-float.erlang
|
81
|
-
"3":
|
82
|
-
name: punctuation.separator.float-exponent.erlang
|
83
|
-
match: \d++(\.)\d++(([eE][\+\-])?\d++)?
|
84
|
-
- name: constant.numeric.integer.binary.erlang
|
85
|
-
captures:
|
86
|
-
"1":
|
87
|
-
name: punctuation.separator.base-integer.erlang
|
88
|
-
match: 2(#)[0-1]++
|
89
|
-
- name: constant.numeric.integer.base-3.erlang
|
90
|
-
captures:
|
91
|
-
"1":
|
92
|
-
name: punctuation.separator.base-integer.erlang
|
93
|
-
match: 3(#)[0-2]++
|
94
|
-
- name: constant.numeric.integer.base-4.erlang
|
95
|
-
captures:
|
96
|
-
"1":
|
97
|
-
name: punctuation.separator.base-integer.erlang
|
98
|
-
match: 4(#)[0-3]++
|
99
|
-
- name: constant.numeric.integer.base-5.erlang
|
100
|
-
captures:
|
101
|
-
"1":
|
102
|
-
name: punctuation.separator.base-integer.erlang
|
103
|
-
match: 5(#)[0-4]++
|
104
|
-
- name: constant.numeric.integer.base-6.erlang
|
105
|
-
captures:
|
106
|
-
"1":
|
107
|
-
name: punctuation.separator.base-integer.erlang
|
108
|
-
match: 6(#)[0-5]++
|
109
|
-
- name: constant.numeric.integer.base-7.erlang
|
110
|
-
captures:
|
111
|
-
"1":
|
112
|
-
name: punctuation.separator.base-integer.erlang
|
113
|
-
match: 7(#)[0-6]++
|
114
|
-
- name: constant.numeric.integer.octal.erlang
|
115
|
-
captures:
|
116
|
-
"1":
|
117
|
-
name: punctuation.separator.base-integer.erlang
|
118
|
-
match: 8(#)[0-7]++
|
119
|
-
- name: constant.numeric.integer.base-9.erlang
|
120
|
-
captures:
|
121
|
-
"1":
|
122
|
-
name: punctuation.separator.base-integer.erlang
|
123
|
-
match: 9(#)[0-8]++
|
124
|
-
- name: constant.numeric.integer.decimal.erlang
|
125
|
-
captures:
|
126
|
-
"1":
|
127
|
-
name: punctuation.separator.base-integer.erlang
|
128
|
-
match: 10(#)\d++
|
129
|
-
- name: constant.numeric.integer.base-11.erlang
|
130
|
-
captures:
|
131
|
-
"1":
|
132
|
-
name: punctuation.separator.base-integer.erlang
|
133
|
-
match: 11(#)[\daA]++
|
134
|
-
- name: constant.numeric.integer.base-12.erlang
|
135
|
-
captures:
|
136
|
-
"1":
|
137
|
-
name: punctuation.separator.base-integer.erlang
|
138
|
-
match: 12(#)[\da-bA-B]++
|
139
|
-
- name: constant.numeric.integer.base-13.erlang
|
140
|
-
captures:
|
141
|
-
"1":
|
142
|
-
name: punctuation.separator.base-integer.erlang
|
143
|
-
match: 13(#)[\da-cA-C]++
|
144
|
-
- name: constant.numeric.integer.base-14.erlang
|
145
|
-
captures:
|
146
|
-
"1":
|
147
|
-
name: punctuation.separator.base-integer.erlang
|
148
|
-
match: 14(#)[\da-dA-D]++
|
149
|
-
- name: constant.numeric.integer.base-15.erlang
|
150
|
-
captures:
|
151
|
-
"1":
|
152
|
-
name: punctuation.separator.base-integer.erlang
|
153
|
-
match: 15(#)[\da-eA-E]++
|
154
|
-
- name: constant.numeric.integer.hexadecimal.erlang
|
155
|
-
captures:
|
156
|
-
"1":
|
157
|
-
name: punctuation.separator.base-integer.erlang
|
158
|
-
match: 16(#)\h++
|
159
|
-
- name: constant.numeric.integer.base-17.erlang
|
160
|
-
captures:
|
161
|
-
"1":
|
162
|
-
name: punctuation.separator.base-integer.erlang
|
163
|
-
match: 17(#)[\da-gA-G]++
|
164
|
-
- name: constant.numeric.integer.base-18.erlang
|
165
|
-
captures:
|
166
|
-
"1":
|
167
|
-
name: punctuation.separator.base-integer.erlang
|
168
|
-
match: 18(#)[\da-hA-H]++
|
169
|
-
- name: constant.numeric.integer.base-19.erlang
|
170
|
-
captures:
|
171
|
-
"1":
|
172
|
-
name: punctuation.separator.base-integer.erlang
|
173
|
-
match: 19(#)[\da-iA-I]++
|
174
|
-
- name: constant.numeric.integer.base-20.erlang
|
175
|
-
captures:
|
176
|
-
"1":
|
177
|
-
name: punctuation.separator.base-integer.erlang
|
178
|
-
match: 20(#)[\da-jA-J]++
|
179
|
-
- name: constant.numeric.integer.base-21.erlang
|
180
|
-
captures:
|
181
|
-
"1":
|
182
|
-
name: punctuation.separator.base-integer.erlang
|
183
|
-
match: 21(#)[\da-kA-K]++
|
184
|
-
- name: constant.numeric.integer.base-22.erlang
|
185
|
-
captures:
|
186
|
-
"1":
|
187
|
-
name: punctuation.separator.base-integer.erlang
|
188
|
-
match: 22(#)[\da-lA-L]++
|
189
|
-
- name: constant.numeric.integer.base-23.erlang
|
190
|
-
captures:
|
191
|
-
"1":
|
192
|
-
name: punctuation.separator.base-integer.erlang
|
193
|
-
match: 23(#)[\da-mA-M]++
|
194
|
-
- name: constant.numeric.integer.base-24.erlang
|
195
|
-
captures:
|
196
|
-
"1":
|
197
|
-
name: punctuation.separator.base-integer.erlang
|
198
|
-
match: 24(#)[\da-nA-N]++
|
199
|
-
- name: constant.numeric.integer.base-25.erlang
|
200
|
-
captures:
|
201
|
-
"1":
|
202
|
-
name: punctuation.separator.base-integer.erlang
|
203
|
-
match: 25(#)[\da-oA-O]++
|
204
|
-
- name: constant.numeric.integer.base-26.erlang
|
205
|
-
captures:
|
206
|
-
"1":
|
207
|
-
name: punctuation.separator.base-integer.erlang
|
208
|
-
match: 26(#)[\da-pA-P]++
|
209
|
-
- name: constant.numeric.integer.base-27.erlang
|
210
|
-
captures:
|
211
|
-
"1":
|
212
|
-
name: punctuation.separator.base-integer.erlang
|
213
|
-
match: 27(#)[\da-qA-Q]++
|
214
|
-
- name: constant.numeric.integer.base-28.erlang
|
215
|
-
captures:
|
216
|
-
"1":
|
217
|
-
name: punctuation.separator.base-integer.erlang
|
218
|
-
match: 28(#)[\da-rA-R]++
|
219
|
-
- name: constant.numeric.integer.base-29.erlang
|
220
|
-
captures:
|
221
|
-
"1":
|
222
|
-
name: punctuation.separator.base-integer.erlang
|
223
|
-
match: 29(#)[\da-sA-S]++
|
224
|
-
- name: constant.numeric.integer.base-30.erlang
|
225
|
-
captures:
|
226
|
-
"1":
|
227
|
-
name: punctuation.separator.base-integer.erlang
|
228
|
-
match: 30(#)[\da-tA-T]++
|
229
|
-
- name: constant.numeric.integer.base-31.erlang
|
230
|
-
captures:
|
231
|
-
"1":
|
232
|
-
name: punctuation.separator.base-integer.erlang
|
233
|
-
match: 31(#)[\da-uA-U]++
|
234
|
-
- name: constant.numeric.integer.base-32.erlang
|
235
|
-
captures:
|
236
|
-
"1":
|
237
|
-
name: punctuation.separator.base-integer.erlang
|
238
|
-
match: 32(#)[\da-vA-V]++
|
239
|
-
- name: constant.numeric.integer.base-33.erlang
|
240
|
-
captures:
|
241
|
-
"1":
|
242
|
-
name: punctuation.separator.base-integer.erlang
|
243
|
-
match: 33(#)[\da-wA-W]++
|
244
|
-
- name: constant.numeric.integer.base-34.erlang
|
245
|
-
captures:
|
246
|
-
"1":
|
247
|
-
name: punctuation.separator.base-integer.erlang
|
248
|
-
match: 34(#)[\da-xA-X]++
|
249
|
-
- name: constant.numeric.integer.base-35.erlang
|
250
|
-
captures:
|
251
|
-
"1":
|
252
|
-
name: punctuation.separator.base-integer.erlang
|
253
|
-
match: 35(#)[\da-yA-Y]++
|
254
|
-
- name: constant.numeric.integer.base-36.erlang
|
255
|
-
captures:
|
256
|
-
"1":
|
257
|
-
name: punctuation.separator.base-integer.erlang
|
258
|
-
match: 36(#)[\da-zA-Z]++
|
259
|
-
- name: invalid.illegal.integer.erlang
|
260
|
-
match: \d++#[\da-zA-Z]++
|
261
|
-
- name: constant.numeric.integer.decimal.erlang
|
262
|
-
match: \d++
|
263
|
-
internal-type-specifiers:
|
264
|
-
begin: (/)
|
265
|
-
beginCaptures:
|
266
|
-
"1":
|
267
|
-
name: punctuation.separator.value-type.erlang
|
268
|
-
end: (?=,|:|>>)
|
269
|
-
patterns:
|
270
|
-
- captures:
|
271
|
-
"1":
|
272
|
-
name: storage.type.erlang
|
273
|
-
"2":
|
274
|
-
name: storage.modifier.signedness.erlang
|
275
|
-
"3":
|
276
|
-
name: storage.modifier.endianness.erlang
|
277
|
-
"4":
|
278
|
-
name: storage.modifier.unit.erlang
|
279
|
-
"5":
|
280
|
-
name: punctuation.separator.type-specifiers.erlang
|
281
|
-
match: (integer|float|binary)|(signed|unsigned)|(big|little|native)|(unit)|(-)
|
282
|
-
character:
|
283
|
-
patterns:
|
284
|
-
- name: constant.character.erlang
|
285
|
-
captures:
|
286
|
-
"1":
|
287
|
-
name: punctuation.definition.character.erlang
|
288
|
-
"2":
|
289
|
-
name: constant.character.escape.erlang
|
290
|
-
"3":
|
291
|
-
name: punctuation.definition.escape.erlang
|
292
|
-
"5":
|
293
|
-
name: punctuation.definition.escape.erlang
|
294
|
-
match: (\$)((\\)([bdefnrstv\\'"]|(\^)[@-_]|[0-7]{1,3}))
|
295
|
-
- name: invalid.illegal.character.erlang
|
296
|
-
match: \$\\\^?.?
|
297
|
-
- name: constant.character.erlang
|
298
|
-
captures:
|
299
|
-
"1":
|
300
|
-
name: punctuation.definition.character.erlang
|
301
|
-
match: (\$)\S
|
302
|
-
- name: invalid.illegal.character.erlang
|
303
|
-
match: \$.?
|
304
|
-
macro-directive:
|
305
|
-
patterns:
|
306
|
-
- name: meta.directive.ifdef.erlang
|
307
|
-
captures:
|
308
|
-
"6":
|
309
|
-
name: punctuation.section.directive.end.erlang
|
310
|
-
"1":
|
311
|
-
name: punctuation.section.directive.begin.erlang
|
312
|
-
"2":
|
313
|
-
name: keyword.control.directive.ifdef.erlang
|
314
|
-
"3":
|
315
|
-
name: punctuation.definition.parameters.begin.erlang
|
316
|
-
"4":
|
317
|
-
name: entity.name.function.macro.erlang
|
318
|
-
"5":
|
319
|
-
name: punctuation.definition.parameters.end.erlang
|
320
|
-
match: ^\s*+(-)\s*+(ifdef)\s*+(\()\s*+([a-zA-z\d@_]++)\s*+(\))\s*+(\.)
|
321
|
-
- name: meta.directive.ifndef.erlang
|
322
|
-
captures:
|
323
|
-
"6":
|
324
|
-
name: punctuation.section.directive.end.erlang
|
325
|
-
"1":
|
326
|
-
name: punctuation.section.directive.begin.erlang
|
327
|
-
"2":
|
328
|
-
name: keyword.control.directive.ifndef.erlang
|
329
|
-
"3":
|
330
|
-
name: punctuation.definition.parameters.begin.erlang
|
331
|
-
"4":
|
332
|
-
name: entity.name.function.macro.erlang
|
333
|
-
"5":
|
334
|
-
name: punctuation.definition.parameters.end.erlang
|
335
|
-
match: ^\s*+(-)\s*+(ifndef)\s*+(\()\s*+([a-zA-z\d@_]++)\s*+(\))\s*+(\.)
|
336
|
-
- name: meta.directive.undef.erlang
|
337
|
-
captures:
|
338
|
-
"6":
|
339
|
-
name: punctuation.section.directive.end.erlang
|
340
|
-
"1":
|
341
|
-
name: punctuation.section.directive.begin.erlang
|
342
|
-
"2":
|
343
|
-
name: keyword.control.directive.undef.erlang
|
344
|
-
"3":
|
345
|
-
name: punctuation.definition.parameters.begin.erlang
|
346
|
-
"4":
|
347
|
-
name: entity.name.function.macro.erlang
|
348
|
-
"5":
|
349
|
-
name: punctuation.definition.parameters.end.erlang
|
350
|
-
match: ^\s*+(-)\s*+(undef)\s*+(\()\s*+([a-zA-z\d@_]++)\s*+(\))\s*+(\.)
|
351
|
-
internal-record-body:
|
352
|
-
name: meta.structure.record.erlang
|
353
|
-
begin: (\{)
|
354
|
-
beginCaptures:
|
355
|
-
"1":
|
356
|
-
name: punctuation.definition.class.record.begin.erlang
|
357
|
-
end: (?=\})
|
358
|
-
patterns:
|
359
|
-
- endCaptures:
|
360
|
-
"1":
|
361
|
-
name: punctuation.separator.class.record.erlang
|
362
|
-
begin: (([a-z][a-zA-Z\d@_]*+)|(_))\s*+(=)
|
363
|
-
beginCaptures:
|
364
|
-
"2":
|
365
|
-
name: variable.other.field.erlang
|
366
|
-
"3":
|
367
|
-
name: variable.language.omitted.field.erlang
|
368
|
-
"4":
|
369
|
-
name: keyword.operator.assignment.erlang
|
370
|
-
end: (,)|(?=\})
|
371
|
-
patterns:
|
372
|
-
- include: "#everything-else"
|
373
|
-
- captures:
|
374
|
-
"1":
|
375
|
-
name: variable.other.field.erlang
|
376
|
-
"2":
|
377
|
-
name: punctuation.separator.class.record.erlang
|
378
|
-
match: ([a-z][a-zA-Z\d@_]*+)\s*+(,)?
|
379
|
-
- include: "#everything-else"
|
380
|
-
internal-function-list:
|
381
|
-
name: meta.structure.list.function.erlang
|
382
|
-
endCaptures:
|
383
|
-
"1":
|
384
|
-
name: punctuation.definition.list.end.erlang
|
385
|
-
begin: (\[)
|
386
|
-
beginCaptures:
|
387
|
-
"1":
|
388
|
-
name: punctuation.definition.list.begin.erlang
|
389
|
-
end: (\])
|
390
|
-
patterns:
|
391
|
-
- endCaptures:
|
392
|
-
"1":
|
393
|
-
name: punctuation.separator.list.erlang
|
394
|
-
begin: ([a-z][a-zA-Z\d@_]*+)\s*+(/)
|
395
|
-
beginCaptures:
|
396
|
-
"1":
|
397
|
-
name: entity.name.function.erlang
|
398
|
-
"2":
|
399
|
-
name: punctuation.separator.function-arity.erlang
|
400
|
-
end: (,)|(?=\])
|
401
|
-
patterns:
|
402
|
-
- include: "#everything-else"
|
403
|
-
- include: "#everything-else"
|
404
|
-
internal-expression-punctuation:
|
405
|
-
captures:
|
406
|
-
"1":
|
407
|
-
name: punctuation.separator.clause-head-body.erlang
|
408
|
-
"2":
|
409
|
-
name: punctuation.separator.clauses.erlang
|
410
|
-
"3":
|
411
|
-
name: punctuation.separator.expressions.erlang
|
412
|
-
match: (->)|(;)|(,)
|
413
|
-
directive:
|
414
|
-
patterns:
|
415
|
-
- name: meta.directive.erlang
|
416
|
-
endCaptures:
|
417
|
-
"1":
|
418
|
-
name: punctuation.definition.parameters.end.erlang
|
419
|
-
"2":
|
420
|
-
name: punctuation.section.directive.end.erlang
|
421
|
-
begin: ^\s*+(-)\s*+([a-z][a-zA-Z\d@_]*+)\s*+(\()
|
422
|
-
beginCaptures:
|
423
|
-
"1":
|
424
|
-
name: punctuation.section.directive.begin.erlang
|
425
|
-
"2":
|
426
|
-
name: keyword.control.directive.erlang
|
427
|
-
"3":
|
428
|
-
name: punctuation.definition.parameters.begin.erlang
|
429
|
-
end: (\))\s*+(\.)
|
430
|
-
patterns:
|
431
|
-
- include: "#everything-else"
|
432
|
-
- name: meta.directive.erlang
|
433
|
-
captures:
|
434
|
-
"1":
|
435
|
-
name: punctuation.section.directive.begin.erlang
|
436
|
-
"2":
|
437
|
-
name: keyword.control.directive.erlang
|
438
|
-
"3":
|
439
|
-
name: punctuation.section.directive.end.erlang
|
440
|
-
match: ^\s*+(-)\s*+([a-z][a-zA-Z\d@_]*+)\s*+(\.)
|
441
|
-
binary:
|
442
|
-
name: meta.structure.binary.erlang
|
443
|
-
endCaptures:
|
444
|
-
"1":
|
445
|
-
name: punctuation.definition.binary.end.erlang
|
446
|
-
begin: (<<)
|
447
|
-
beginCaptures:
|
448
|
-
"1":
|
449
|
-
name: punctuation.definition.binary.begin.erlang
|
450
|
-
end: (>>)
|
451
|
-
patterns:
|
452
|
-
- captures:
|
453
|
-
"1":
|
454
|
-
name: punctuation.separator.binary.erlang
|
455
|
-
"2":
|
456
|
-
name: punctuation.separator.value-size.erlang
|
457
|
-
match: (,)|(:)
|
458
|
-
- include: "#internal-type-specifiers"
|
459
|
-
- include: "#everything-else"
|
460
|
-
function:
|
461
|
-
name: meta.function.erlang
|
462
|
-
endCaptures:
|
463
|
-
"1":
|
464
|
-
name: punctuation.terminator.function.erlang
|
465
|
-
begin: ^\s*+([a-z][a-zA-Z\d@_]*+)\s*+(?=\()
|
466
|
-
beginCaptures:
|
467
|
-
"1":
|
468
|
-
name: entity.name.function.definition.erlang
|
469
|
-
end: (\.)
|
470
|
-
patterns:
|
471
|
-
- endCaptures:
|
472
|
-
"1":
|
473
|
-
name: punctuation.separator.clauses.erlang
|
474
|
-
begin: (?=\()
|
475
|
-
end: (;)|(?=\.)
|
476
|
-
patterns:
|
477
|
-
- include: "#internal-function-parts"
|
478
|
-
- captures:
|
479
|
-
"1":
|
480
|
-
name: entity.name.function.erlang
|
481
|
-
match: ^\s*+([a-z][a-zA-Z\d@_]*+)\s*+(?=\()
|
482
|
-
- include: "#everything-else"
|
483
|
-
expression:
|
484
|
-
patterns:
|
485
|
-
- name: meta.expression.if.erlang
|
486
|
-
endCaptures:
|
487
|
-
"1":
|
488
|
-
name: keyword.control.end.erlang
|
489
|
-
begin: \b(if)\b
|
490
|
-
beginCaptures:
|
491
|
-
"1":
|
492
|
-
name: keyword.control.if.erlang
|
493
|
-
end: \b(end)\b
|
494
|
-
patterns:
|
495
|
-
- include: "#internal-expression-punctuation"
|
496
|
-
- include: "#everything-else"
|
497
|
-
- name: meta.expression.case.erlang
|
498
|
-
endCaptures:
|
499
|
-
"1":
|
500
|
-
name: keyword.control.end.erlang
|
501
|
-
begin: \b(case)\b
|
502
|
-
beginCaptures:
|
503
|
-
"1":
|
504
|
-
name: keyword.control.case.erlang
|
505
|
-
end: \b(end)\b
|
506
|
-
patterns:
|
507
|
-
- include: "#internal-expression-punctuation"
|
508
|
-
- include: "#everything-else"
|
509
|
-
- name: meta.expression.receive.erlang
|
510
|
-
endCaptures:
|
511
|
-
"1":
|
512
|
-
name: keyword.control.end.erlang
|
513
|
-
begin: \b(receive)\b
|
514
|
-
beginCaptures:
|
515
|
-
"1":
|
516
|
-
name: keyword.control.receive.erlang
|
517
|
-
end: \b(end)\b
|
518
|
-
patterns:
|
519
|
-
- include: "#internal-expression-punctuation"
|
520
|
-
- include: "#everything-else"
|
521
|
-
- captures:
|
522
|
-
"6":
|
523
|
-
name: punctuation.separator.function-arity.erlang
|
524
|
-
"1":
|
525
|
-
name: keyword.control.fun.erlang
|
526
|
-
"3":
|
527
|
-
name: entity.name.type.class.module.erlang
|
528
|
-
"4":
|
529
|
-
name: punctuation.separator.module-function.erlang
|
530
|
-
"5":
|
531
|
-
name: entity.name.function.erlang
|
532
|
-
match: \b(fun)\s*+(([a-z][a-zA-Z\d@_]*+)\s*+(:)\s*+)?([a-z][a-zA-Z\d@_]*+)\s*(/)
|
533
|
-
- name: meta.expression.fun.erlang
|
534
|
-
endCaptures:
|
535
|
-
"1":
|
536
|
-
name: keyword.control.end.erlang
|
537
|
-
begin: \b(fun)\b
|
538
|
-
beginCaptures:
|
539
|
-
"1":
|
540
|
-
name: keyword.control.fun.erlang
|
541
|
-
end: \b(end)\b
|
542
|
-
patterns:
|
543
|
-
- endCaptures:
|
544
|
-
"1":
|
545
|
-
name: punctuation.separator.clauses.erlang
|
546
|
-
begin: (?=\()
|
547
|
-
end: (;)|(?=\bend\b)
|
548
|
-
patterns:
|
549
|
-
- include: "#internal-function-parts"
|
550
|
-
- include: "#everything-else"
|
551
|
-
- name: meta.expression.try.erlang
|
552
|
-
endCaptures:
|
553
|
-
"1":
|
554
|
-
name: keyword.control.end.erlang
|
555
|
-
begin: \b(try)\b
|
556
|
-
beginCaptures:
|
557
|
-
"1":
|
558
|
-
name: keyword.control.try.erlang
|
559
|
-
end: \b(end)\b
|
560
|
-
patterns:
|
561
|
-
- include: "#internal-expression-punctuation"
|
562
|
-
- include: "#everything-else"
|
563
|
-
- name: meta.expression.begin.erlang
|
564
|
-
endCaptures:
|
565
|
-
"1":
|
566
|
-
name: keyword.control.end.erlang
|
567
|
-
begin: \b(begin)\b
|
568
|
-
beginCaptures:
|
569
|
-
"1":
|
570
|
-
name: keyword.control.begin.erlang
|
571
|
-
end: \b(end)\b
|
572
|
-
patterns:
|
573
|
-
- include: "#internal-expression-punctuation"
|
574
|
-
- include: "#everything-else"
|
575
|
-
- name: meta.expression.query.erlang
|
576
|
-
endCaptures:
|
577
|
-
"1":
|
578
|
-
name: keyword.control.end.erlang
|
579
|
-
begin: \b(query)\b
|
580
|
-
beginCaptures:
|
581
|
-
"1":
|
582
|
-
name: keyword.control.query.erlang
|
583
|
-
end: \b(end)\b
|
584
|
-
patterns:
|
585
|
-
- include: "#everything-else"
|
586
|
-
module-directive:
|
587
|
-
name: meta.directive.module.erlang
|
588
|
-
captures:
|
589
|
-
"6":
|
590
|
-
name: punctuation.section.directive.end.erlang
|
591
|
-
"1":
|
592
|
-
name: punctuation.section.directive.begin.erlang
|
593
|
-
"2":
|
594
|
-
name: keyword.control.directive.module.erlang
|
595
|
-
"3":
|
596
|
-
name: punctuation.definition.parameters.begin.erlang
|
597
|
-
"4":
|
598
|
-
name: entity.name.type.class.module.definition.erlang
|
599
|
-
"5":
|
600
|
-
name: punctuation.definition.parameters.end.erlang
|
601
|
-
match: ^\s*+(-)\s*+(module)\s*+(\()\s*+([a-z][a-zA-Z\d@_]*+)\s*+(\))\s*+(\.)
|
602
|
-
define-directive:
|
603
|
-
patterns:
|
604
|
-
- name: meta.directive.define.erlang
|
605
|
-
endCaptures:
|
606
|
-
"1":
|
607
|
-
name: punctuation.definition.parameters.end.erlang
|
608
|
-
"2":
|
609
|
-
name: punctuation.section.directive.end.erlang
|
610
|
-
begin: ^\s*+(-)\s*+(define)\s*+(\()\s*+([a-zA-Z\d@_]++)\s*+(,)
|
611
|
-
beginCaptures:
|
612
|
-
"1":
|
613
|
-
name: punctuation.section.directive.begin.erlang
|
614
|
-
"2":
|
615
|
-
name: keyword.control.directive.define.erlang
|
616
|
-
"3":
|
617
|
-
name: punctuation.definition.parameters.begin.erlang
|
618
|
-
"4":
|
619
|
-
name: entity.name.function.macro.definition.erlang
|
620
|
-
"5":
|
621
|
-
name: punctuation.separator.parameters.erlang
|
622
|
-
end: (\))\s*+(\.)
|
623
|
-
patterns:
|
624
|
-
- include: "#everything-else"
|
625
|
-
- name: meta.directive.define.erlang
|
626
|
-
endCaptures:
|
627
|
-
"1":
|
628
|
-
name: punctuation.definition.parameters.end.erlang
|
629
|
-
"2":
|
630
|
-
name: punctuation.section.directive.end.erlang
|
631
|
-
begin: (?=^\s*+-\s*+define\s*+\(\s*+[a-zA-Z\d@_]++\s*+\()
|
632
|
-
end: (\))\s*+(\.)
|
633
|
-
patterns:
|
634
|
-
- endCaptures:
|
635
|
-
"1":
|
636
|
-
name: punctuation.definition.parameters.end.erlang
|
637
|
-
"2":
|
638
|
-
name: punctuation.separator.parameters.erlang
|
639
|
-
begin: ^\s*+(-)\s*+(define)\s*+(\()\s*+([a-zA-Z\d@_]++)\s*+(\()
|
640
|
-
beginCaptures:
|
641
|
-
"1":
|
642
|
-
name: punctuation.section.directive.begin.erlang
|
643
|
-
"2":
|
644
|
-
name: keyword.control.directive.define.erlang
|
645
|
-
"3":
|
646
|
-
name: punctuation.definition.parameters.begin.erlang
|
647
|
-
"4":
|
648
|
-
name: entity.name.function.macro.definition.erlang
|
649
|
-
"5":
|
650
|
-
name: punctuation.definition.parameters.begin.erlang
|
651
|
-
end: (\))\s*(,)
|
652
|
-
patterns:
|
653
|
-
- name: punctuation.separator.parameters.erlang
|
654
|
-
match: ","
|
655
|
-
- include: "#everything-else"
|
656
|
-
- name: punctuation.separator.define.erlang
|
657
|
-
match: \|\||\||:|;|,|\.|->
|
658
|
-
- include: "#everything-else"
|
659
|
-
tuple:
|
660
|
-
name: meta.structure.tuple.erlang
|
661
|
-
endCaptures:
|
662
|
-
"1":
|
663
|
-
name: punctuation.definition.tuple.end.erlang
|
664
|
-
begin: (\{)
|
665
|
-
beginCaptures:
|
666
|
-
"1":
|
667
|
-
name: punctuation.definition.tuple.begin.erlang
|
668
|
-
end: (\})
|
669
|
-
patterns:
|
670
|
-
- name: punctuation.separator.tuple.erlang
|
671
|
-
match: ","
|
672
|
-
- include: "#everything-else"
|
673
|
-
textual-operator:
|
674
|
-
name: keyword.operator.textual.erlang
|
675
|
-
match: \b(andalso|band|and|bxor|xor|bor|orelse|or|bnot|not|bsl|bsr|div|rem)\b
|
676
|
-
record-directive:
|
677
|
-
name: meta.directive.record.erlang
|
678
|
-
endCaptures:
|
679
|
-
"1":
|
680
|
-
name: meta.structure.record.erlang
|
681
|
-
"2":
|
682
|
-
name: punctuation.definition.class.record.end.erlang
|
683
|
-
"3":
|
684
|
-
name: punctuation.definition.parameters.end.erlang
|
685
|
-
"4":
|
686
|
-
name: punctuation.section.directive.end.erlang
|
687
|
-
begin: ^\s*+(-)\s*+(record)\s*+(\()\s*+([a-z][a-zA-Z\d@_]*+)\s*+(,)
|
688
|
-
beginCaptures:
|
689
|
-
"1":
|
690
|
-
name: punctuation.section.directive.begin.erlang
|
691
|
-
"2":
|
692
|
-
name: keyword.control.directive.import.erlang
|
693
|
-
"3":
|
694
|
-
name: punctuation.definition.parameters.begin.erlang
|
695
|
-
"4":
|
696
|
-
name: entity.name.type.class.record.definition.erlang
|
697
|
-
"5":
|
698
|
-
name: punctuation.separator.parameters.erlang
|
699
|
-
end: ((\}))\s*+(\))\s*+(\.)
|
700
|
-
patterns:
|
701
|
-
- include: "#internal-record-body"
|
702
|
-
function-call:
|
703
|
-
name: meta.function-call.erlang
|
704
|
-
endCaptures:
|
705
|
-
"1":
|
706
|
-
name: punctuation.definition.parameters.end.erlang
|
707
|
-
begin: (?=[a-z][a-zA-Z\d@_]*+\s*+(\(|:\s*+[a-z][a-zA-Z\d@_]*+\s*+\())
|
708
|
-
end: (\))
|
709
|
-
patterns:
|
710
|
-
- begin: ((erlang)\s*+(:)\s*+)?(is_atom|is_binary|is_constant|is_float|is_function|is_integer|is_list|is_number|is_pid|is_port|is_reference|is_tuple|is_record|abs|element|hd|length|node|round|self|size|tl|trunc)\s*+(\()
|
711
|
-
beginCaptures:
|
712
|
-
"2":
|
713
|
-
name: entity.name.type.class.module.erlang
|
714
|
-
"3":
|
715
|
-
name: punctuation.separator.module-function.erlang
|
716
|
-
"4":
|
717
|
-
name: entity.name.function.guard.erlang
|
718
|
-
"5":
|
719
|
-
name: punctuation.definition.parameters.begin.erlang
|
720
|
-
end: (?=\))
|
721
|
-
patterns:
|
722
|
-
- name: punctuation.separator.parameters.erlang
|
723
|
-
match: ","
|
724
|
-
- include: "#everything-else"
|
725
|
-
- begin: (([a-z][a-zA-Z\d@_]*+)\s*+(:)\s*+)?([a-z][a-zA-Z\d@_]*+)\s*+(\()
|
726
|
-
beginCaptures:
|
727
|
-
"2":
|
728
|
-
name: entity.name.type.class.module.erlang
|
729
|
-
"3":
|
730
|
-
name: punctuation.separator.module-function.erlang
|
731
|
-
"4":
|
732
|
-
name: entity.name.function.erlang
|
733
|
-
"5":
|
734
|
-
name: punctuation.definition.parameters.begin.erlang
|
735
|
-
end: (?=\))
|
736
|
-
patterns:
|
737
|
-
- name: punctuation.separator.parameters.erlang
|
738
|
-
match: ","
|
739
|
-
- include: "#everything-else"
|
740
|
-
everything-else:
|
741
|
-
patterns:
|
742
|
-
- include: "#comment"
|
743
|
-
- include: "#record-usage"
|
744
|
-
- include: "#macro-usage"
|
745
|
-
- include: "#expression"
|
746
|
-
- include: "#keyword"
|
747
|
-
- include: "#textual-operator"
|
748
|
-
- include: "#function-call"
|
749
|
-
- include: "#tuple"
|
750
|
-
- include: "#list"
|
751
|
-
- include: "#binary"
|
752
|
-
- include: "#parenthesized-expression"
|
753
|
-
- include: "#character"
|
754
|
-
- include: "#number"
|
755
|
-
- include: "#atom"
|
756
|
-
- include: "#string"
|
757
|
-
- include: "#symbolic-operator"
|
758
|
-
- include: "#variable"
|
759
|
-
record-usage:
|
760
|
-
patterns:
|
761
|
-
- name: meta.record-usage.erlang
|
762
|
-
captures:
|
763
|
-
"1":
|
764
|
-
name: keyword.operator.record.erlang
|
765
|
-
"2":
|
766
|
-
name: entity.name.type.class.record.erlang
|
767
|
-
"3":
|
768
|
-
name: punctuation.separator.record-field.erlang
|
769
|
-
"4":
|
770
|
-
name: variable.other.field.erlang
|
771
|
-
match: (#)\s*+([a-z][a-zA-Z\d@_]*+)\s*+(\.)\s*+([a-z][a-zA-Z\d@_]*+)
|
772
|
-
- name: meta.record-usage.erlang
|
773
|
-
endCaptures:
|
774
|
-
"1":
|
775
|
-
name: meta.structure.record.erlang
|
776
|
-
"2":
|
777
|
-
name: punctuation.definition.class.record.end.erlang
|
778
|
-
begin: (#)\s*+([a-z][a-zA-Z\d@_]*+)
|
779
|
-
beginCaptures:
|
780
|
-
"1":
|
781
|
-
name: keyword.operator.record.erlang
|
782
|
-
"2":
|
783
|
-
name: entity.name.type.class.record.erlang
|
784
|
-
end: ((\}))
|
785
|
-
patterns:
|
786
|
-
- include: "#internal-record-body"
|
787
|
-
parenthesized-expression:
|
788
|
-
name: meta.expression.parenthesized
|
789
|
-
endCaptures:
|
790
|
-
"1":
|
791
|
-
name: punctuation.section.expression.end.erlang
|
792
|
-
begin: (\()
|
793
|
-
beginCaptures:
|
794
|
-
"1":
|
795
|
-
name: punctuation.section.expression.begin.erlang
|
796
|
-
end: (\))
|
797
|
-
patterns:
|
798
|
-
- include: "#everything-else"
|
799
|
-
keyword:
|
800
|
-
name: keyword.control.erlang
|
801
|
-
match: \b(after|begin|case|catch|cond|end|fun|if|let|of|query|try|receive|when)\b
|
802
|
-
internal-function-parts:
|
803
|
-
patterns:
|
804
|
-
- endCaptures:
|
805
|
-
"1":
|
806
|
-
name: punctuation.separator.clause-head-body.erlang
|
807
|
-
begin: (?=\()
|
808
|
-
end: (->)
|
809
|
-
patterns:
|
810
|
-
- endCaptures:
|
811
|
-
"1":
|
812
|
-
name: punctuation.definition.parameters.end.erlang
|
813
|
-
begin: (\()
|
814
|
-
beginCaptures:
|
815
|
-
"1":
|
816
|
-
name: punctuation.definition.parameters.begin.erlang
|
817
|
-
end: (\))
|
818
|
-
patterns:
|
819
|
-
- name: punctuation.separator.parameters.erlang
|
820
|
-
match: ","
|
821
|
-
- include: "#everything-else"
|
822
|
-
- name: punctuation.separator.guards.erlang
|
823
|
-
match: ,|;
|
824
|
-
- include: "#everything-else"
|
825
|
-
- name: punctuation.separator.expressions.erlang
|
826
|
-
match: ","
|
827
|
-
- include: "#everything-else"
|
828
|
-
comment:
|
829
|
-
name: comment.line.erlang
|
830
|
-
begin: (%)
|
831
|
-
beginCaptures:
|
832
|
-
"1":
|
833
|
-
name: punctuation.definition.comment.erlang
|
834
|
-
end: $\n?
|
835
|
-
variable:
|
836
|
-
captures:
|
837
|
-
"1":
|
838
|
-
name: variable.other.erlang
|
839
|
-
"2":
|
840
|
-
name: variable.language.omitted.erlang
|
841
|
-
match: (_[a-zA-Z\d@_]++|[A-Z][a-zA-Z\d@_]*+)|(_)
|
842
|
-
string:
|
843
|
-
name: string.quoted.double.erlang
|
844
|
-
endCaptures:
|
845
|
-
"1":
|
846
|
-
name: punctuation.definition.string.end.erlang
|
847
|
-
begin: (")
|
848
|
-
beginCaptures:
|
849
|
-
"1":
|
850
|
-
name: punctuation.definition.string.begin.erlang
|
851
|
-
end: (")
|
852
|
-
patterns:
|
853
|
-
- name: constant.character.escape.erlang
|
854
|
-
captures:
|
855
|
-
"1":
|
856
|
-
name: punctuation.definition.escape.erlang
|
857
|
-
"3":
|
858
|
-
name: punctuation.definition.escape.erlang
|
859
|
-
match: (\\)([bdefnrstv\\'"]|(\^)[@-_]|[0-7]{1,3})
|
860
|
-
- name: invalid.illegal.string.erlang
|
861
|
-
match: \\\^?.?
|
862
|
-
- name: constant.other.placeholder.erlang
|
863
|
-
captures:
|
864
|
-
"6":
|
865
|
-
name: punctuation.separator.placeholder-parts.erlang
|
866
|
-
"12":
|
867
|
-
name: punctuation.separator.placeholder-parts.erlang
|
868
|
-
"8":
|
869
|
-
name: punctuation.separator.placeholder-parts.erlang
|
870
|
-
"1":
|
871
|
-
name: punctuation.definition.placeholder.erlang
|
872
|
-
"3":
|
873
|
-
name: punctuation.separator.placeholder-parts.erlang
|
874
|
-
"4":
|
875
|
-
name: punctuation.separator.placeholder-parts.erlang
|
876
|
-
"10":
|
877
|
-
name: punctuation.separator.placeholder-parts.erlang
|
878
|
-
match: (~)((\-)?\d++|(\*))?((\.)(\d++|(\*)))?((\.)((\*)|.))?[~cfegswpWPBX#bx\+ni]
|
879
|
-
- name: constant.other.placeholder.erlang
|
880
|
-
captures:
|
881
|
-
"1":
|
882
|
-
name: punctuation.definition.placeholder.erlang
|
883
|
-
"2":
|
884
|
-
name: punctuation.separator.placeholder-parts.erlang
|
885
|
-
match: (~)(\*)?(\d++)?[~du\-#fsacl]
|
886
|
-
- name: invalid.illegal.string.erlang
|
887
|
-
match: ~.?
|
888
|
-
atom:
|
889
|
-
patterns:
|
890
|
-
- name: constant.other.symbol.quoted.single.erlang
|
891
|
-
endCaptures:
|
892
|
-
"1":
|
893
|
-
name: punctuation.definition.symbol.end.erlang
|
894
|
-
begin: (')
|
895
|
-
beginCaptures:
|
896
|
-
"1":
|
897
|
-
name: punctuation.definition.symbol.begin.erlang
|
898
|
-
end: (')
|
899
|
-
patterns:
|
900
|
-
- name: constant.other.symbol.escape.erlang
|
901
|
-
captures:
|
902
|
-
"1":
|
903
|
-
name: punctuation.definition.escape.erlang
|
904
|
-
"3":
|
905
|
-
name: punctuation.definition.escape.erlang
|
906
|
-
match: (\\)([bdefnrstv\\'"]|(\^)[@-_]|[0-7]{1,3})
|
907
|
-
- name: invalid.illegal.atom.erlang
|
908
|
-
match: \\\^?.?
|
909
|
-
- name: constant.other.symbol.unquoted.erlang
|
910
|
-
match: "[a-z][a-zA-Z\\d@_]*+"
|
911
|
-
uuid: 58EA597D-5158-4BF7-9FB2-B05135D1E166
|
912
|
-
patterns:
|
913
|
-
- include: "#module-directive"
|
914
|
-
- include: "#import-export-directive"
|
915
|
-
- include: "#record-directive"
|
916
|
-
- include: "#define-directive"
|
917
|
-
- include: "#macro-directive"
|
918
|
-
- include: "#directive"
|
919
|
-
- include: "#function"
|
920
|
-
- include: "#everything-else"
|
921
|
-
keyEquivalent: ^~E
|
922
|
-
comment: The recognition of function definitions and compiler directives (such as module, record and macro definitions) requires that each of the aforementioned constructs must be the first string inside a line (except for whitespace). Also, the function/module/record/macro names must be given unquoted. -- desp
|