redcar 0.3.1dev → 0.3.2dev
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +34 -1
- data/README.md +2 -1
- data/ROADMAP.md +13 -45
- data/Rakefile +15 -14
- data/bin/redcar +4 -1
- data/lib/plugin_manager/README.md +61 -0
- data/lib/plugin_manager/Rakefile +55 -0
- data/lib/plugin_manager/bin/plugin_manager +4 -0
- data/lib/plugin_manager/lib/plugin_manager.rb +107 -0
- data/lib/plugin_manager/lib/plugin_manager/definition_builder.rb +37 -0
- data/lib/plugin_manager/lib/plugin_manager/plugin.rb +9 -0
- data/lib/plugin_manager/lib/plugin_manager/plugin_definition.rb +50 -0
- data/lib/plugin_manager/plugin_manager.gemspec +33 -0
- data/lib/plugin_manager/spec/fixtures/error_in_definition/core/plugin.rb +2 -0
- data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/core.rb +4 -0
- data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/example/core/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/example/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/example/debug/debug.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/example/debug/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/example/extras/extras.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/example/extras/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core2/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions1/core2/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core2/core.rb +20 -0
- data/lib/plugin_manager/spec/fixtures/two_versions2/core2/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/core.rb +10 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/debug.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/plugin.rb +8 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/core.rb +10 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/plugin.rb +7 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/debug.rb +6 -0
- data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/plugin.rb +8 -0
- data/lib/plugin_manager/spec/plugin_manager_spec.rb +208 -0
- data/lib/plugin_manager/spec/spec_helper.rb +3 -0
- data/lib/redcar.rb +8 -3
- data/lib/redcar/boot.rb +59 -56
- data/lib/redcar/installer.rb +1 -1
- data/lib/redcar/instance_exec.rb +25 -0
- data/lib/redcar/runner.rb +5 -1
- data/lib/redcar/usage.rb +5 -1
- data/plugins/application/icons/close.png +0 -0
- data/plugins/application/lib/application.rb +61 -28
- data/plugins/application/lib/application/clipboard.rb +71 -0
- data/plugins/application/lib/application/dialog.rb +63 -0
- data/plugins/application/lib/application/menu.rb +32 -1
- data/plugins/application/lib/application/menu/builder.rb +10 -4
- data/plugins/application/lib/application/menu/item.rb +16 -3
- data/plugins/application/lib/application/notebook.rb +5 -0
- data/plugins/application/lib/application/speedbar.rb +73 -0
- data/plugins/application/lib/application/window.rb +25 -0
- data/plugins/application/plugin.rb +8 -0
- data/plugins/application/spec/application/clipboard_spec.rb +36 -0
- data/plugins/application/spec/application/menu_spec.rb +73 -1
- data/plugins/application/spec/application/speedbar_spec.rb +46 -0
- data/plugins/application/spec/spec_helper.rb +1 -1
- data/plugins/application_swt/lib/application_swt.rb +18 -11
- data/plugins/application_swt/lib/application_swt/clipboard.rb +42 -0
- data/plugins/application_swt/lib/application_swt/dialog_adapter.rb +68 -0
- data/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb +1 -1
- data/plugins/application_swt/lib/application_swt/html_tab.rb +32 -0
- data/plugins/application_swt/lib/application_swt/menu.rb +57 -21
- data/plugins/application_swt/lib/application_swt/menu/binding_translator.rb +39 -2
- data/plugins/application_swt/lib/application_swt/notebook.rb +5 -0
- data/plugins/application_swt/lib/application_swt/speedbar.rb +187 -0
- data/plugins/application_swt/lib/application_swt/swt_wrapper.rb +24 -1
- data/plugins/application_swt/lib/application_swt/window.rb +33 -3
- data/plugins/application_swt/plugin.rb +8 -0
- data/plugins/application_swt/spec/spec_helper.rb +1 -1
- data/plugins/auto_completer/features/auto_complete.feature +65 -0
- data/plugins/auto_completer/features/step_definitions/auto_complete_steps.rb +4 -0
- data/plugins/auto_completer/features/support/env.rb +4 -0
- data/plugins/auto_completer/lib/auto_completer.rb +99 -0
- data/plugins/auto_completer/lib/auto_completer/document_controller.rb +52 -0
- data/plugins/auto_completer/lib/auto_completer/word_iterator.rb +48 -0
- data/plugins/auto_completer/lib/auto_completer/word_list.rb +40 -0
- data/plugins/auto_completer/plugin.rb +10 -0
- data/plugins/auto_indenter/lib/auto_indenter.rb +1 -1
- data/plugins/auto_indenter/lib/auto_indenter/document_controller.rb +1 -1
- data/plugins/auto_indenter/plugin.rb +8 -0
- data/plugins/core/lib/core.rb +6 -30
- data/plugins/core/lib/core/gui.rb +7 -2
- data/plugins/core/lib/core/logger.rb +7 -4
- data/plugins/core/lib/core/plugin/storage.rb +15 -5
- data/plugins/core/plugin.rb +7 -0
- data/plugins/core/spec/core/storage_spec.rb +0 -9
- data/plugins/edit_view/features/cut_and_paste.feature +45 -0
- data/plugins/edit_view/features/step_definitions/editing_steps.rb +22 -0
- data/plugins/edit_view/features/step_definitions/key_steps.rb +1 -1
- data/plugins/edit_view/features/step_definitions/notebook_steps.rb +1 -1
- data/plugins/edit_view/features/step_definitions/tab_steps.rb +2 -0
- data/plugins/edit_view/features/step_definitions/window_steps.rb +1 -1
- data/plugins/edit_view/features/support/env.rb +2 -2
- data/plugins/edit_view/lib/edit_view.rb +24 -13
- data/plugins/edit_view/lib/edit_view/document.rb +233 -15
- data/plugins/edit_view/lib/edit_view/edit_tab.rb +2 -2
- data/plugins/edit_view/plugin.rb +9 -0
- data/plugins/edit_view/spec/spec_helper.rb +1 -1
- data/plugins/edit_view_swt/lib/edit_view_swt.rb +37 -8
- data/plugins/edit_view_swt/lib/edit_view_swt/document.rb +59 -24
- data/plugins/edit_view_swt/lib/edit_view_swt/word_movement.rb +66 -0
- data/plugins/edit_view_swt/plugin.rb +9 -0
- data/plugins/edit_view_swt/spec/edit_view_swt/word_movement_spec.rb +29 -0
- data/plugins/edit_view_swt/spec/spec_helper.rb +6 -0
- data/plugins/html_view/assets/blueprint/ie.css +35 -0
- data/plugins/html_view/assets/blueprint/print.css +29 -0
- data/plugins/html_view/assets/blueprint/screen.css +257 -0
- data/plugins/html_view/assets/blueprint/src/forms.css +65 -0
- data/plugins/html_view/assets/blueprint/src/grid.css +281 -0
- data/plugins/html_view/assets/blueprint/src/grid.png +0 -0
- data/plugins/html_view/assets/blueprint/src/ie.css +76 -0
- data/plugins/html_view/assets/blueprint/src/print.css +85 -0
- data/plugins/html_view/assets/blueprint/src/reset.css +38 -0
- data/plugins/html_view/assets/blueprint/src/typography.css +106 -0
- data/plugins/html_view/assets/jquery-1.4.min.js +151 -0
- data/plugins/html_view/assets/redcar.css +12 -0
- data/plugins/html_view/lib/html_controller.rb +5 -0
- data/plugins/html_view/lib/html_view.rb +47 -0
- data/plugins/html_view/lib/html_view/html_tab.rb +16 -0
- data/plugins/html_view/plugin.rb +12 -0
- data/plugins/my_plugin/lib/my_plugin.rb +55 -0
- data/plugins/my_plugin/plugin.rb +8 -0
- data/plugins/plugin_manager_ui/lib/plugin_manager_ui.rb +62 -0
- data/plugins/plugin_manager_ui/plugin.rb +12 -0
- data/plugins/plugin_manager_ui/views/index.html.erb +31 -0
- data/plugins/project/lib/project.rb +27 -13
- data/plugins/project/lib/project/find_file_dialog.rb +25 -19
- data/plugins/project/plugin.rb +8 -0
- data/plugins/project/spec/spec_helper.rb +1 -1
- data/plugins/redcar/plugin.rb +13 -0
- data/plugins/redcar/redcar.rb +249 -8
- data/plugins/repl/lib/repl.rb +22 -14
- data/plugins/repl/plugin.rb +8 -0
- data/plugins/repl/spec/spec_helper.rb +1 -1
- data/plugins/tree/plugin.rb +9 -0
- data/plugins/tree/spec/spec_helper.rb +1 -1
- data/plugins/tree_view_swt/plugin.rb +9 -0
- data/textmate/Bundles/Apache.tmbundle/Syntaxes/Apache.plist +544 -0
- data/textmate/Bundles/Apache.tmbundle/Syntaxes/mod_perl.tmLanguage +120 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___HTML__.plist +88 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Markdown__.plist +89 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Text__.plist +74 -0
- data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Textile__.plist +74 -0
- data/textmate/Bundles/Bundle Development.tmbundle/Syntaxes/LanguageGrammar.tmLanguage +1829 -0
- data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/Build.tmLanguage +142 -0
- data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/C__.tmLanguage +524 -0
- data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/Qt_C____.tmLanguage +62 -0
- data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/qmake_Project.tmLanguage +308 -0
- data/textmate/Bundles/C.tmbundle/Syntaxes/C.plist +90 -48
- data/textmate/Bundles/Clojure.tmbundle/Syntaxes/Clojure.tmLanguage +427 -0
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Plain_Text_Feature.tmLanguage +106 -13
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Steps.tmLanguage +177 -2
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/plaintext_template.erb +109 -17
- data/textmate/Bundles/D.tmbundle/Syntaxes/D.tmLanguage +908 -0
- data/textmate/Bundles/Diff.tmbundle/Syntaxes/Diff.plist +229 -0
- data/textmate/Bundles/DokuWiki.tmbundle/Syntaxes/DokuWiki.tmLanguage +649 -0
- data/textmate/Bundles/F-Script.tmbundle/Syntaxes/F__Script.plist +219 -0
- data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Haskell.plist +646 -0
- data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Literate_Haskell.plist +90 -0
- data/textmate/Bundles/Io.tmbundle/Syntaxes/Io.plist +225 -0
- data/textmate/Bundles/JSON.tmbundle/Syntaxes/JSON.tmLanguage +285 -0
- data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype.tmLanguage +193 -0
- data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype_Bracketed.tmLanguage +394 -0
- data/textmate/Bundles/JavaScript jQuery.tmbundle/Syntaxes/jQuery___JavaScript__.tmLanguage +440 -0
- data/textmate/Bundles/JavaScript.tmbundle/Syntaxes/JavaScript.plist +712 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/Bibtex.plist +406 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX.plist +1601 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Beamer.plist +106 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Log.plist +141 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Memoir.tmLanguage +165 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX.plist +246 -0
- data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX_Math.plist +132 -0
- data/textmate/Bundles/Lisp.tmbundle/Syntaxes/Lisp.plist +160 -0
- data/textmate/Bundles/Makefile.tmbundle/Syntaxes/Makefile.plist +103 -0
- data/textmate/Bundles/Markdown.tmbundle/Syntaxes/Markdown.plist +1192 -0
- data/textmate/Bundles/Markdown.tmbundle/Syntaxes/MultiMarkdown.tmLanguage +80 -0
- data/textmate/Bundles/PHP.tmbundle/Syntaxes/PHP.plist +3481 -0
- data/textmate/Bundles/Perl HTML-Template.tmbundle/Syntaxes/Perl_HTML__Template.tmLanguage +217 -0
- data/textmate/Bundles/Perl Template Toolkit.tmbundle/Syntaxes/HTML___Template_Toolkit__.tmLanguage +339 -0
- data/textmate/Bundles/Postscript.tmbundle/Syntaxes/Postscript.tmLanguage +321 -0
- data/textmate/Bundles/Processing.tmbundle/Syntaxes/Processing.plist +296 -0
- data/textmate/Bundles/Property List.tmbundle/Syntaxes/Property_List.tmLanguage +1650 -0
- data/textmate/Bundles/Python Django Templates.tmbundle/Syntaxes/HTML___Django__.tmLanguage +104 -0
- data/textmate/Bundles/Python Django.tmbundle/Syntaxes/Python_Django.tmLanguage +57 -0
- data/textmate/Bundles/Python.tmbundle/Syntaxes/Python.tmLanguage +3016 -0
- data/textmate/Bundles/Python.tmbundle/Syntaxes/Regular_Expressions___Python__.tmLanguage +299 -0
- data/textmate/Bundles/Rez.tmbundle/Syntaxes/Rez.plist +219 -0
- data/textmate/Bundles/Ruby Haml.tmbundle/Syntaxes/Ruby_Haml.tmLanguage +403 -0
- data/textmate/Bundles/Ruby RSpec.tmbundle/Syntaxes/RSpec.tmLanguage +142 -0
- data/textmate/Bundles/Ruby.tmbundle/Syntaxes/Ruby.plist +139 -49
- data/textmate/Bundles/SQL.tmbundle/Syntaxes/SQL.plist +705 -0
- data/textmate/Bundles/SSH-Config.tmbundle/Syntaxes/SSH__Config.tmLanguage +88 -0
- data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala.tmLanguage +609 -0
- data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala_Properties.tmLanguage +54 -0
- data/textmate/Bundles/ShellScript.tmbundle/Syntaxes/Shell__Unix__Generic.plist +1855 -0
- data/textmate/Bundles/Tabular.tmbundle/Syntaxes/CSV.tmLanguage +178 -0
- data/textmate/Bundles/Tabular.tmbundle/Syntaxes/TSV.tmLanguage +135 -0
- data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Regular_Expressions___Oniguruma__.tmLanguage +295 -0
- data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Release_Notes.tmLanguage +126 -0
- data/textmate/Bundles/Textile.tmbundle/Syntaxes/Textile.plist +490 -0
- data/textmate/Bundles/Thrift.tmbundle/Syntaxes/Thrift.tmLanguage +1024 -0
- data/textmate/Bundles/XML.tmbundle/Syntaxes/XML.plist +576 -0
- data/textmate/Bundles/XML.tmbundle/Syntaxes/XSL.plist +157 -0
- data/textmate/Bundles/YAML.tmbundle/Syntaxes/YAML.plist +466 -0
- data/textmate/Themes/Django.tmTheme +436 -0
- metadata +371 -325
- data/config/default.yaml +0 -15
- data/lib/freebase2/README.txt +0 -47
- data/lib/freebase2/bin/default.yaml +0 -15
- data/lib/freebase2/bin/install.rb +0 -42
- data/lib/freebase2/bin/run.rb +0 -48
- data/lib/freebase2/lib/freebase/configuration.rb +0 -535
- data/lib/freebase2/lib/freebase/core.rb +0 -197
- data/lib/freebase2/lib/freebase/databus.rb +0 -1128
- data/lib/freebase2/lib/freebase/freebase.rb +0 -60
- data/lib/freebase2/lib/freebase/logger.rb +0 -117
- data/lib/freebase2/lib/freebase/plugin.rb +0 -384
- data/lib/freebase2/lib/freebase/properties.rb +0 -130
- data/lib/freebase2/lib/freebase/readers.rb +0 -328
- data/lib/freebase2/notes +0 -61
- data/lib/freebase2/plugins/raa_webrick/httpd.rb +0 -125
- data/lib/freebase2/plugins/raa_webrick/plugin.yaml +0 -7
- data/lib/freebase2/plugins/raa_webrick/web_root/test.html +0 -5
- data/lib/freebase2/plugins/raa_webrick/webserver.yaml +0 -6
- data/lib/freebase2/plugins/raa_xmlrpc4r/plugin.xml +0 -8
- data/lib/freebase2/plugins/raa_xmlrpc4r/rpcd.rb +0 -54
- data/lib/freebase2/regress/README +0 -1
- data/lib/little_plugger/History.txt +0 -20
- data/lib/little_plugger/Rakefile +0 -34
- data/lib/little_plugger/lib/little-plugger.rb +0 -323
- data/lib/little_plugger/spec/little-plugger_spec.rb +0 -26
- data/lib/little_plugger/spec/spec_helper.rb +0 -16
- data/lib/logging/History.txt +0 -240
- data/lib/logging/Rakefile +0 -37
- data/lib/logging/data/bad_logging_1.rb +0 -13
- data/lib/logging/data/bad_logging_2.rb +0 -21
- data/lib/logging/data/logging.rb +0 -42
- data/lib/logging/data/logging.yaml +0 -63
- data/lib/logging/data/simple_logging.rb +0 -13
- data/lib/logging/examples/appenders.rb +0 -47
- data/lib/logging/examples/classes.rb +0 -41
- data/lib/logging/examples/consolidation.rb +0 -83
- data/lib/logging/examples/formatting.rb +0 -51
- data/lib/logging/examples/hierarchies.rb +0 -73
- data/lib/logging/examples/layouts.rb +0 -48
- data/lib/logging/examples/loggers.rb +0 -29
- data/lib/logging/examples/names.rb +0 -43
- data/lib/logging/examples/simple.rb +0 -17
- data/lib/logging/lib/logging.rb +0 -501
- data/lib/logging/lib/logging/appender.rb +0 -251
- data/lib/logging/lib/logging/appenders.rb +0 -131
- data/lib/logging/lib/logging/appenders/buffering.rb +0 -168
- data/lib/logging/lib/logging/appenders/console.rb +0 -60
- data/lib/logging/lib/logging/appenders/email.rb +0 -75
- data/lib/logging/lib/logging/appenders/file.rb +0 -58
- data/lib/logging/lib/logging/appenders/growl.rb +0 -197
- data/lib/logging/lib/logging/appenders/io.rb +0 -69
- data/lib/logging/lib/logging/appenders/rolling_file.rb +0 -293
- data/lib/logging/lib/logging/appenders/string_io.rb +0 -68
- data/lib/logging/lib/logging/appenders/syslog.rb +0 -194
- data/lib/logging/lib/logging/config/configurator.rb +0 -188
- data/lib/logging/lib/logging/config/yaml_configurator.rb +0 -191
- data/lib/logging/lib/logging/layout.rb +0 -117
- data/lib/logging/lib/logging/layouts.rb +0 -47
- data/lib/logging/lib/logging/layouts/basic.rb +0 -32
- data/lib/logging/lib/logging/layouts/parseable.rb +0 -211
- data/lib/logging/lib/logging/layouts/pattern.rb +0 -311
- data/lib/logging/lib/logging/log_event.rb +0 -45
- data/lib/logging/lib/logging/logger.rb +0 -503
- data/lib/logging/lib/logging/repository.rb +0 -232
- data/lib/logging/lib/logging/root_logger.rb +0 -61
- data/lib/logging/lib/logging/stats.rb +0 -278
- data/lib/logging/lib/logging/utils.rb +0 -153
- data/lib/logging/lib/spec/logging_helper.rb +0 -34
- data/lib/logging/test/appenders/test_buffered_io.rb +0 -176
- data/lib/logging/test/appenders/test_console.rb +0 -66
- data/lib/logging/test/appenders/test_email.rb +0 -170
- data/lib/logging/test/appenders/test_file.rb +0 -95
- data/lib/logging/test/appenders/test_growl.rb +0 -127
- data/lib/logging/test/appenders/test_io.rb +0 -129
- data/lib/logging/test/appenders/test_rolling_file.rb +0 -200
- data/lib/logging/test/appenders/test_syslog.rb +0 -194
- data/lib/logging/test/benchmark.rb +0 -86
- data/lib/logging/test/config/test_configurator.rb +0 -70
- data/lib/logging/test/config/test_yaml_configurator.rb +0 -40
- data/lib/logging/test/layouts/test_basic.rb +0 -42
- data/lib/logging/test/layouts/test_json.rb +0 -112
- data/lib/logging/test/layouts/test_pattern.rb +0 -198
- data/lib/logging/test/layouts/test_yaml.rb +0 -121
- data/lib/logging/test/setup.rb +0 -44
- data/lib/logging/test/test_appender.rb +0 -152
- data/lib/logging/test/test_consolidate.rb +0 -46
- data/lib/logging/test/test_layout.rb +0 -110
- data/lib/logging/test/test_log_event.rb +0 -80
- data/lib/logging/test/test_logger.rb +0 -699
- data/lib/logging/test/test_logging.rb +0 -267
- data/lib/logging/test/test_repository.rb +0 -158
- data/lib/logging/test/test_root_logger.rb +0 -81
- data/lib/logging/test/test_stats.rb +0 -274
- data/lib/logging/test/test_utils.rb +0 -116
- data/plugins/application/plugin.yaml +0 -11
- data/plugins/application_swt/plugin.yaml +0 -11
- data/plugins/auto_indenter/plugin.yaml +0 -12
- data/plugins/core/plugin.yaml +0 -7
- data/plugins/edit_view/plugin.yaml +0 -14
- data/plugins/edit_view_swt/plugin.yaml +0 -14
- data/plugins/project/plugin.yaml +0 -12
- data/plugins/redcar/plugin.yaml +0 -18
- data/plugins/repl/plugin.yaml +0 -12
- data/plugins/tree/plugin.yaml +0 -14
- data/plugins/tree_view_swt/plugin.yaml +0 -14
@@ -0,0 +1,219 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>fileTypes</key>
|
6
|
+
<array>
|
7
|
+
<string>fscript</string>
|
8
|
+
</array>
|
9
|
+
<key>foldingStartMarker</key>
|
10
|
+
<string>\[</string>
|
11
|
+
<key>foldingStopMarker</key>
|
12
|
+
<string>\]</string>
|
13
|
+
<key>keyEquivalent</key>
|
14
|
+
<string>^~F</string>
|
15
|
+
<key>name</key>
|
16
|
+
<string>F-Script</string>
|
17
|
+
<key>patterns</key>
|
18
|
+
<array>
|
19
|
+
<dict>
|
20
|
+
<key>match</key>
|
21
|
+
<string>(:|\w):</string>
|
22
|
+
<key>name</key>
|
23
|
+
<string>meta.dummy.symbol.ignore.fscript</string>
|
24
|
+
</dict>
|
25
|
+
<dict>
|
26
|
+
<key>captures</key>
|
27
|
+
<dict>
|
28
|
+
<key>1</key>
|
29
|
+
<dict>
|
30
|
+
<key>name</key>
|
31
|
+
<string>punctuation.definition.symbol.fscript</string>
|
32
|
+
</dict>
|
33
|
+
</dict>
|
34
|
+
<key>match</key>
|
35
|
+
<string>(:)\w+\b</string>
|
36
|
+
<key>name</key>
|
37
|
+
<string>constant.other.symbol.fscript</string>
|
38
|
+
</dict>
|
39
|
+
<dict>
|
40
|
+
<key>match</key>
|
41
|
+
<string>\b((([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)\b</string>
|
42
|
+
<key>name</key>
|
43
|
+
<string>constant.numeric.fscript</string>
|
44
|
+
</dict>
|
45
|
+
<dict>
|
46
|
+
<key>match</key>
|
47
|
+
<string>#([[:lower:]]|_|[+=\-/!%&*|><~?])(\w|[+=\-/!%&*|><~?:])*</string>
|
48
|
+
<key>name</key>
|
49
|
+
<string>constant.other.block.compact.fscript</string>
|
50
|
+
</dict>
|
51
|
+
<dict>
|
52
|
+
<key>captures</key>
|
53
|
+
<dict>
|
54
|
+
<key>1</key>
|
55
|
+
<dict>
|
56
|
+
<key>name</key>
|
57
|
+
<string>punctuation.section.block.fscript</string>
|
58
|
+
</dict>
|
59
|
+
<key>2</key>
|
60
|
+
<dict>
|
61
|
+
<key>name</key>
|
62
|
+
<string>variable.parameter.block.fscript</string>
|
63
|
+
</dict>
|
64
|
+
<key>3</key>
|
65
|
+
<dict>
|
66
|
+
<key>name</key>
|
67
|
+
<string>punctuation.section.block.fscript</string>
|
68
|
+
</dict>
|
69
|
+
</dict>
|
70
|
+
<key>match</key>
|
71
|
+
<string>(\[)(?:\s*((?::\w+\s+)*:\w+)\s*\|)?\s*(\])</string>
|
72
|
+
<key>name</key>
|
73
|
+
<string>meta.block.empty.fscript</string>
|
74
|
+
</dict>
|
75
|
+
<dict>
|
76
|
+
<key>begin</key>
|
77
|
+
<string>(\[)(?:\s*((?::\w+\s+)*:\w+)\s*\|)?</string>
|
78
|
+
<key>beginCaptures</key>
|
79
|
+
<dict>
|
80
|
+
<key>1</key>
|
81
|
+
<dict>
|
82
|
+
<key>name</key>
|
83
|
+
<string>punctuation.section.block.fscript</string>
|
84
|
+
</dict>
|
85
|
+
<key>2</key>
|
86
|
+
<dict>
|
87
|
+
<key>name</key>
|
88
|
+
<string>variable.parameter.block.fscript</string>
|
89
|
+
</dict>
|
90
|
+
</dict>
|
91
|
+
<key>end</key>
|
92
|
+
<string>\]</string>
|
93
|
+
<key>endCaptures</key>
|
94
|
+
<dict>
|
95
|
+
<key>0</key>
|
96
|
+
<dict>
|
97
|
+
<key>name</key>
|
98
|
+
<string>punctuation.section.block.fscript</string>
|
99
|
+
</dict>
|
100
|
+
</dict>
|
101
|
+
<key>name</key>
|
102
|
+
<string>meta.block.fscript</string>
|
103
|
+
<key>patterns</key>
|
104
|
+
<array>
|
105
|
+
<dict>
|
106
|
+
<key>match</key>
|
107
|
+
<string>\s+</string>
|
108
|
+
<key>name</key>
|
109
|
+
<string>meta.block.header.fscript</string>
|
110
|
+
</dict>
|
111
|
+
<dict>
|
112
|
+
<key>begin</key>
|
113
|
+
<string>(?:\|(\s*(?:\w+\s+)*\w+\s*)?\||(?=[^\s|]))</string>
|
114
|
+
<key>captures</key>
|
115
|
+
<dict>
|
116
|
+
<key>1</key>
|
117
|
+
<dict>
|
118
|
+
<key>name</key>
|
119
|
+
<string>variable.other.local.fscript</string>
|
120
|
+
</dict>
|
121
|
+
</dict>
|
122
|
+
<key>end</key>
|
123
|
+
<string>(?=\])</string>
|
124
|
+
<key>name</key>
|
125
|
+
<string>meta.block.content.fscript</string>
|
126
|
+
<key>patterns</key>
|
127
|
+
<array>
|
128
|
+
<dict>
|
129
|
+
<key>include</key>
|
130
|
+
<string>$base</string>
|
131
|
+
</dict>
|
132
|
+
</array>
|
133
|
+
</dict>
|
134
|
+
</array>
|
135
|
+
</dict>
|
136
|
+
<dict>
|
137
|
+
<key>match</key>
|
138
|
+
<string>\b(true|YES|false|NO|sys|nil)\b</string>
|
139
|
+
<key>name</key>
|
140
|
+
<string>constant.language.fscript</string>
|
141
|
+
</dict>
|
142
|
+
<dict>
|
143
|
+
<key>captures</key>
|
144
|
+
<dict>
|
145
|
+
<key>1</key>
|
146
|
+
<dict>
|
147
|
+
<key>name</key>
|
148
|
+
<string>entity.name.function.fscript</string>
|
149
|
+
</dict>
|
150
|
+
</dict>
|
151
|
+
<key>comment</key>
|
152
|
+
<string>a hack for the symbol popup</string>
|
153
|
+
<key>match</key>
|
154
|
+
<string>^(\w+)\s*:=\s*(?=\[)</string>
|
155
|
+
</dict>
|
156
|
+
<dict>
|
157
|
+
<key>begin</key>
|
158
|
+
<string>"</string>
|
159
|
+
<key>beginCaptures</key>
|
160
|
+
<dict>
|
161
|
+
<key>0</key>
|
162
|
+
<dict>
|
163
|
+
<key>name</key>
|
164
|
+
<string>punctuation.definition.comment.begin.fscript</string>
|
165
|
+
</dict>
|
166
|
+
</dict>
|
167
|
+
<key>end</key>
|
168
|
+
<string>"</string>
|
169
|
+
<key>endCaptures</key>
|
170
|
+
<dict>
|
171
|
+
<key>0</key>
|
172
|
+
<dict>
|
173
|
+
<key>name</key>
|
174
|
+
<string>punctuation.definition.comment.end.fscript</string>
|
175
|
+
</dict>
|
176
|
+
</dict>
|
177
|
+
<key>name</key>
|
178
|
+
<string>comment.block.quotes.fscript</string>
|
179
|
+
</dict>
|
180
|
+
<dict>
|
181
|
+
<key>begin</key>
|
182
|
+
<string>'</string>
|
183
|
+
<key>beginCaptures</key>
|
184
|
+
<dict>
|
185
|
+
<key>0</key>
|
186
|
+
<dict>
|
187
|
+
<key>name</key>
|
188
|
+
<string>punctuation.definition.string.begin.fscript</string>
|
189
|
+
</dict>
|
190
|
+
</dict>
|
191
|
+
<key>end</key>
|
192
|
+
<string>'</string>
|
193
|
+
<key>endCaptures</key>
|
194
|
+
<dict>
|
195
|
+
<key>0</key>
|
196
|
+
<dict>
|
197
|
+
<key>name</key>
|
198
|
+
<string>punctuation.definition.string.end.fscript</string>
|
199
|
+
</dict>
|
200
|
+
</dict>
|
201
|
+
<key>name</key>
|
202
|
+
<string>string.quoted.single.fscript</string>
|
203
|
+
<key>patterns</key>
|
204
|
+
<array>
|
205
|
+
<dict>
|
206
|
+
<key>match</key>
|
207
|
+
<string>\\.</string>
|
208
|
+
<key>name</key>
|
209
|
+
<string>constant.character.escape.fscript</string>
|
210
|
+
</dict>
|
211
|
+
</array>
|
212
|
+
</dict>
|
213
|
+
</array>
|
214
|
+
<key>scopeName</key>
|
215
|
+
<string>source.fscript</string>
|
216
|
+
<key>uuid</key>
|
217
|
+
<string>C2CB9A74-C9FC-4F63-8BAF-E64B72A60DD4</string>
|
218
|
+
</dict>
|
219
|
+
</plist>
|
@@ -0,0 +1,646 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>fileTypes</key>
|
6
|
+
<array>
|
7
|
+
<string>hs</string>
|
8
|
+
</array>
|
9
|
+
<key>keyEquivalent</key>
|
10
|
+
<string>^~H</string>
|
11
|
+
<key>name</key>
|
12
|
+
<string>Haskell</string>
|
13
|
+
<key>patterns</key>
|
14
|
+
<array>
|
15
|
+
<dict>
|
16
|
+
<key>captures</key>
|
17
|
+
<dict>
|
18
|
+
<key>1</key>
|
19
|
+
<dict>
|
20
|
+
<key>name</key>
|
21
|
+
<string>punctuation.definition.entity.haskell</string>
|
22
|
+
</dict>
|
23
|
+
<key>2</key>
|
24
|
+
<dict>
|
25
|
+
<key>name</key>
|
26
|
+
<string>punctuation.definition.entity.haskell</string>
|
27
|
+
</dict>
|
28
|
+
</dict>
|
29
|
+
<key>comment</key>
|
30
|
+
<string>In case this regex seems unusual for an infix operator, note that Haskell allows any ordinary function application (elem 4 [1..10]) to be rewritten as an infix expression (4 `elem` [1..10]).</string>
|
31
|
+
<key>match</key>
|
32
|
+
<string>(`)[a-zA-Z_']*?(`)</string>
|
33
|
+
<key>name</key>
|
34
|
+
<string>keyword.operator.function.infix.haskell</string>
|
35
|
+
</dict>
|
36
|
+
<dict>
|
37
|
+
<key>match</key>
|
38
|
+
<string>\(\)</string>
|
39
|
+
<key>name</key>
|
40
|
+
<string>constant.language.unit.haskell</string>
|
41
|
+
</dict>
|
42
|
+
<dict>
|
43
|
+
<key>match</key>
|
44
|
+
<string>\[\]</string>
|
45
|
+
<key>name</key>
|
46
|
+
<string>constant.language.empty-list.haskell</string>
|
47
|
+
</dict>
|
48
|
+
<dict>
|
49
|
+
<key>begin</key>
|
50
|
+
<string>(module)</string>
|
51
|
+
<key>beginCaptures</key>
|
52
|
+
<dict>
|
53
|
+
<key>1</key>
|
54
|
+
<dict>
|
55
|
+
<key>name</key>
|
56
|
+
<string>keyword.other.haskell</string>
|
57
|
+
</dict>
|
58
|
+
</dict>
|
59
|
+
<key>end</key>
|
60
|
+
<string>(where)</string>
|
61
|
+
<key>endCaptures</key>
|
62
|
+
<dict>
|
63
|
+
<key>1</key>
|
64
|
+
<dict>
|
65
|
+
<key>name</key>
|
66
|
+
<string>keyword.other.haskell</string>
|
67
|
+
</dict>
|
68
|
+
</dict>
|
69
|
+
<key>name</key>
|
70
|
+
<string>meta.declaration.module.haskell</string>
|
71
|
+
<key>patterns</key>
|
72
|
+
<array>
|
73
|
+
<dict>
|
74
|
+
<key>include</key>
|
75
|
+
<string>#module_name</string>
|
76
|
+
</dict>
|
77
|
+
<dict>
|
78
|
+
<key>include</key>
|
79
|
+
<string>#module_exports</string>
|
80
|
+
</dict>
|
81
|
+
<dict>
|
82
|
+
<key>match</key>
|
83
|
+
<string>[a-z]+</string>
|
84
|
+
<key>name</key>
|
85
|
+
<string>invalid</string>
|
86
|
+
</dict>
|
87
|
+
</array>
|
88
|
+
</dict>
|
89
|
+
<dict>
|
90
|
+
<key>begin</key>
|
91
|
+
<string>\b(class)\b</string>
|
92
|
+
<key>beginCaptures</key>
|
93
|
+
<dict>
|
94
|
+
<key>1</key>
|
95
|
+
<dict>
|
96
|
+
<key>name</key>
|
97
|
+
<string>keyword.other.haskell</string>
|
98
|
+
</dict>
|
99
|
+
</dict>
|
100
|
+
<key>end</key>
|
101
|
+
<string>\b(where)\b</string>
|
102
|
+
<key>endCaptures</key>
|
103
|
+
<dict>
|
104
|
+
<key>1</key>
|
105
|
+
<dict>
|
106
|
+
<key>name</key>
|
107
|
+
<string>keyword.other.haskell</string>
|
108
|
+
</dict>
|
109
|
+
</dict>
|
110
|
+
<key>name</key>
|
111
|
+
<string>meta.declaration.class.haskell</string>
|
112
|
+
<key>patterns</key>
|
113
|
+
<array>
|
114
|
+
<dict>
|
115
|
+
<key>match</key>
|
116
|
+
<string>\b(Monad|Functor|Eq|Ord|Read|Show|Num|(Frac|Ra)tional|Enum|Bounded|Real(Frac|Float)?|Integral|Floating)\b</string>
|
117
|
+
<key>name</key>
|
118
|
+
<string>support.class.prelude.haskell</string>
|
119
|
+
</dict>
|
120
|
+
<dict>
|
121
|
+
<key>match</key>
|
122
|
+
<string>[A-Z][A-Za-z_']*</string>
|
123
|
+
<key>name</key>
|
124
|
+
<string>entity.other.inherited-class.haskell</string>
|
125
|
+
</dict>
|
126
|
+
<dict>
|
127
|
+
<key>match</key>
|
128
|
+
<string>\b[a-z][a-zA-Z0-9_']*\b</string>
|
129
|
+
<key>name</key>
|
130
|
+
<string>variable.other.generic-type.haskell</string>
|
131
|
+
</dict>
|
132
|
+
</array>
|
133
|
+
</dict>
|
134
|
+
<dict>
|
135
|
+
<key>begin</key>
|
136
|
+
<string>\b(instance)\b</string>
|
137
|
+
<key>beginCaptures</key>
|
138
|
+
<dict>
|
139
|
+
<key>1</key>
|
140
|
+
<dict>
|
141
|
+
<key>name</key>
|
142
|
+
<string>keyword.other.haskell</string>
|
143
|
+
</dict>
|
144
|
+
</dict>
|
145
|
+
<key>end</key>
|
146
|
+
<string>\b(where)\b|$</string>
|
147
|
+
<key>endCaptures</key>
|
148
|
+
<dict>
|
149
|
+
<key>1</key>
|
150
|
+
<dict>
|
151
|
+
<key>name</key>
|
152
|
+
<string>keyword.other.haskell</string>
|
153
|
+
</dict>
|
154
|
+
</dict>
|
155
|
+
<key>name</key>
|
156
|
+
<string>meta.declaration.instance.haskell</string>
|
157
|
+
<key>patterns</key>
|
158
|
+
<array>
|
159
|
+
<dict>
|
160
|
+
<key>include</key>
|
161
|
+
<string>#type_signature</string>
|
162
|
+
</dict>
|
163
|
+
</array>
|
164
|
+
</dict>
|
165
|
+
<dict>
|
166
|
+
<key>begin</key>
|
167
|
+
<string>(import)</string>
|
168
|
+
<key>beginCaptures</key>
|
169
|
+
<dict>
|
170
|
+
<key>1</key>
|
171
|
+
<dict>
|
172
|
+
<key>name</key>
|
173
|
+
<string>keyword.other.haskell</string>
|
174
|
+
</dict>
|
175
|
+
</dict>
|
176
|
+
<key>end</key>
|
177
|
+
<string>($|;)</string>
|
178
|
+
<key>name</key>
|
179
|
+
<string>meta.import.haskell</string>
|
180
|
+
<key>patterns</key>
|
181
|
+
<array>
|
182
|
+
<dict>
|
183
|
+
<key>match</key>
|
184
|
+
<string>(qualified|as|hiding)</string>
|
185
|
+
<key>name</key>
|
186
|
+
<string>keyword.other.haskell</string>
|
187
|
+
</dict>
|
188
|
+
<dict>
|
189
|
+
<key>include</key>
|
190
|
+
<string>#module_name</string>
|
191
|
+
</dict>
|
192
|
+
<dict>
|
193
|
+
<key>include</key>
|
194
|
+
<string>#module_exports</string>
|
195
|
+
</dict>
|
196
|
+
</array>
|
197
|
+
</dict>
|
198
|
+
<dict>
|
199
|
+
<key>begin</key>
|
200
|
+
<string>(deriving)\s*\(</string>
|
201
|
+
<key>beginCaptures</key>
|
202
|
+
<dict>
|
203
|
+
<key>1</key>
|
204
|
+
<dict>
|
205
|
+
<key>name</key>
|
206
|
+
<string>keyword.other.haskell</string>
|
207
|
+
</dict>
|
208
|
+
</dict>
|
209
|
+
<key>end</key>
|
210
|
+
<string>\)</string>
|
211
|
+
<key>name</key>
|
212
|
+
<string>meta.deriving.haskell</string>
|
213
|
+
<key>patterns</key>
|
214
|
+
<array>
|
215
|
+
<dict>
|
216
|
+
<key>match</key>
|
217
|
+
<string>\b[A-Z][a-zA-Z_']*</string>
|
218
|
+
<key>name</key>
|
219
|
+
<string>entity.other.inherited-class.haskell</string>
|
220
|
+
</dict>
|
221
|
+
</array>
|
222
|
+
</dict>
|
223
|
+
<dict>
|
224
|
+
<key>match</key>
|
225
|
+
<string>\b(deriving|where|data|type|case|of|let|in|newtype|default)\b</string>
|
226
|
+
<key>name</key>
|
227
|
+
<string>keyword.other.haskell</string>
|
228
|
+
</dict>
|
229
|
+
<dict>
|
230
|
+
<key>match</key>
|
231
|
+
<string>\binfix[lr]?\b</string>
|
232
|
+
<key>name</key>
|
233
|
+
<string>keyword.operator.haskell</string>
|
234
|
+
</dict>
|
235
|
+
<dict>
|
236
|
+
<key>match</key>
|
237
|
+
<string>\b(do|if|then|else)\b</string>
|
238
|
+
<key>name</key>
|
239
|
+
<string>keyword.control.haskell</string>
|
240
|
+
</dict>
|
241
|
+
<dict>
|
242
|
+
<key>comment</key>
|
243
|
+
<string>Floats are always decimal</string>
|
244
|
+
<key>match</key>
|
245
|
+
<string>\b([0-9]+\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\b</string>
|
246
|
+
<key>name</key>
|
247
|
+
<string>constant.numeric.float.haskell</string>
|
248
|
+
</dict>
|
249
|
+
<dict>
|
250
|
+
<key>match</key>
|
251
|
+
<string>\b([0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\b</string>
|
252
|
+
<key>name</key>
|
253
|
+
<string>constant.numeric.haskell</string>
|
254
|
+
</dict>
|
255
|
+
<dict>
|
256
|
+
<key>captures</key>
|
257
|
+
<dict>
|
258
|
+
<key>1</key>
|
259
|
+
<dict>
|
260
|
+
<key>name</key>
|
261
|
+
<string>punctuation.definition.preprocessor.c</string>
|
262
|
+
</dict>
|
263
|
+
</dict>
|
264
|
+
<key>comment</key>
|
265
|
+
<string>In addition to Haskell's "native" syntax, GHC permits the C preprocessor to be run on a source file.</string>
|
266
|
+
<key>match</key>
|
267
|
+
<string>^\s*(#)\s*\w+</string>
|
268
|
+
<key>name</key>
|
269
|
+
<string>meta.preprocessor.c</string>
|
270
|
+
</dict>
|
271
|
+
<dict>
|
272
|
+
<key>include</key>
|
273
|
+
<string>#pragma</string>
|
274
|
+
</dict>
|
275
|
+
<dict>
|
276
|
+
<key>begin</key>
|
277
|
+
<string>"</string>
|
278
|
+
<key>beginCaptures</key>
|
279
|
+
<dict>
|
280
|
+
<key>0</key>
|
281
|
+
<dict>
|
282
|
+
<key>name</key>
|
283
|
+
<string>punctuation.definition.string.begin.haskell</string>
|
284
|
+
</dict>
|
285
|
+
</dict>
|
286
|
+
<key>end</key>
|
287
|
+
<string>"</string>
|
288
|
+
<key>endCaptures</key>
|
289
|
+
<dict>
|
290
|
+
<key>0</key>
|
291
|
+
<dict>
|
292
|
+
<key>name</key>
|
293
|
+
<string>punctuation.definition.string.end.haskell</string>
|
294
|
+
</dict>
|
295
|
+
</dict>
|
296
|
+
<key>name</key>
|
297
|
+
<string>string.quoted.double.haskell</string>
|
298
|
+
<key>patterns</key>
|
299
|
+
<array>
|
300
|
+
<dict>
|
301
|
+
<key>match</key>
|
302
|
+
<string>\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\"'\&])</string>
|
303
|
+
<key>name</key>
|
304
|
+
<string>constant.character.escape.haskell</string>
|
305
|
+
</dict>
|
306
|
+
<dict>
|
307
|
+
<key>match</key>
|
308
|
+
<string>\\o[0-7]+|\\x[0-9A-Fa-f]+|\\[0-9]+</string>
|
309
|
+
<key>name</key>
|
310
|
+
<string>constant.character.escape.octal.haskell</string>
|
311
|
+
</dict>
|
312
|
+
<dict>
|
313
|
+
<key>match</key>
|
314
|
+
<string>\^[A-Z@\[\]\\\^_]</string>
|
315
|
+
<key>name</key>
|
316
|
+
<string>constant.character.escape.control.haskell</string>
|
317
|
+
</dict>
|
318
|
+
</array>
|
319
|
+
</dict>
|
320
|
+
<dict>
|
321
|
+
<key>captures</key>
|
322
|
+
<dict>
|
323
|
+
<key>1</key>
|
324
|
+
<dict>
|
325
|
+
<key>name</key>
|
326
|
+
<string>punctuation.definition.string.begin.haskell</string>
|
327
|
+
</dict>
|
328
|
+
<key>2</key>
|
329
|
+
<dict>
|
330
|
+
<key>name</key>
|
331
|
+
<string>constant.character.escape.haskell</string>
|
332
|
+
</dict>
|
333
|
+
<key>3</key>
|
334
|
+
<dict>
|
335
|
+
<key>name</key>
|
336
|
+
<string>constant.character.escape.octal.haskell</string>
|
337
|
+
</dict>
|
338
|
+
<key>4</key>
|
339
|
+
<dict>
|
340
|
+
<key>name</key>
|
341
|
+
<string>constant.character.escape.hexadecimal.haskell</string>
|
342
|
+
</dict>
|
343
|
+
<key>5</key>
|
344
|
+
<dict>
|
345
|
+
<key>name</key>
|
346
|
+
<string>constant.character.escape.control.haskell</string>
|
347
|
+
</dict>
|
348
|
+
<key>6</key>
|
349
|
+
<dict>
|
350
|
+
<key>name</key>
|
351
|
+
<string>punctuation.definition.string.end.haskell</string>
|
352
|
+
</dict>
|
353
|
+
</dict>
|
354
|
+
<key>match</key>
|
355
|
+
<string>(?x)
|
356
|
+
(')
|
357
|
+
(?:
|
358
|
+
[\ -\[\]-~] # Basic Char
|
359
|
+
| (\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE
|
360
|
+
|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS
|
361
|
+
|US|SP|DEL|[abfnrtv\\\"'\&])) # Escapes
|
362
|
+
| (\\o[0-7]+) # Octal Escapes
|
363
|
+
| (\\x[0-9A-Fa-f]+) # Hexadecimal Escapes
|
364
|
+
| (\^[A-Z@\[\]\\\^_]) # Control Chars
|
365
|
+
)
|
366
|
+
(')
|
367
|
+
</string>
|
368
|
+
<key>name</key>
|
369
|
+
<string>string.quoted.single.haskell</string>
|
370
|
+
</dict>
|
371
|
+
<dict>
|
372
|
+
<key>begin</key>
|
373
|
+
<string>^\s*([a-z_][a-zA-Z0-9_']*|\([|!%$+\-.,=</>]+\))\s*(::)</string>
|
374
|
+
<key>beginCaptures</key>
|
375
|
+
<dict>
|
376
|
+
<key>1</key>
|
377
|
+
<dict>
|
378
|
+
<key>name</key>
|
379
|
+
<string>entity.name.function.haskell</string>
|
380
|
+
</dict>
|
381
|
+
<key>2</key>
|
382
|
+
<dict>
|
383
|
+
<key>name</key>
|
384
|
+
<string>keyword.other.double-colon.haskell</string>
|
385
|
+
</dict>
|
386
|
+
</dict>
|
387
|
+
<key>end</key>
|
388
|
+
<string>$\n?</string>
|
389
|
+
<key>name</key>
|
390
|
+
<string>meta.function.type-declaration.haskell</string>
|
391
|
+
<key>patterns</key>
|
392
|
+
<array>
|
393
|
+
<dict>
|
394
|
+
<key>include</key>
|
395
|
+
<string>#type_signature</string>
|
396
|
+
</dict>
|
397
|
+
</array>
|
398
|
+
</dict>
|
399
|
+
<dict>
|
400
|
+
<key>match</key>
|
401
|
+
<string>\b(Just|Nothing|Left|Right|True|False|LT|EQ|GT|\(\)|\[\])\b</string>
|
402
|
+
<key>name</key>
|
403
|
+
<string>support.constant.haskell</string>
|
404
|
+
</dict>
|
405
|
+
<dict>
|
406
|
+
<key>match</key>
|
407
|
+
<string>\b[A-Z]\w*\b</string>
|
408
|
+
<key>name</key>
|
409
|
+
<string>constant.other.haskell</string>
|
410
|
+
</dict>
|
411
|
+
<dict>
|
412
|
+
<key>include</key>
|
413
|
+
<string>#comments</string>
|
414
|
+
</dict>
|
415
|
+
<dict>
|
416
|
+
<key>match</key>
|
417
|
+
<string>\b(abs|acos|acosh|all|and|any|appendFile|applyM|asTypeOf|asin|asinh|atan|atan2|atanh|break|catch|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b</string>
|
418
|
+
<key>name</key>
|
419
|
+
<string>support.function.prelude.haskell</string>
|
420
|
+
</dict>
|
421
|
+
<dict>
|
422
|
+
<key>include</key>
|
423
|
+
<string>#infix_op</string>
|
424
|
+
</dict>
|
425
|
+
<dict>
|
426
|
+
<key>comment</key>
|
427
|
+
<string>In case this regex seems overly general, note that Haskell permits the definition of new operators which can be nearly any string of punctuation characters, such as $%^&*.</string>
|
428
|
+
<key>match</key>
|
429
|
+
<string>[|!%$?~+:\-.=</>\\]+</string>
|
430
|
+
<key>name</key>
|
431
|
+
<string>keyword.operator.haskell</string>
|
432
|
+
</dict>
|
433
|
+
<dict>
|
434
|
+
<key>match</key>
|
435
|
+
<string>,</string>
|
436
|
+
<key>name</key>
|
437
|
+
<string>punctuation.separator.comma.haskell</string>
|
438
|
+
</dict>
|
439
|
+
</array>
|
440
|
+
<key>repository</key>
|
441
|
+
<dict>
|
442
|
+
<key>block_comment</key>
|
443
|
+
<dict>
|
444
|
+
<key>applyEndPatternLast</key>
|
445
|
+
<integer>1</integer>
|
446
|
+
<key>begin</key>
|
447
|
+
<string>\{-(?!#)</string>
|
448
|
+
<key>captures</key>
|
449
|
+
<dict>
|
450
|
+
<key>0</key>
|
451
|
+
<dict>
|
452
|
+
<key>name</key>
|
453
|
+
<string>punctuation.definition.comment.haskell</string>
|
454
|
+
</dict>
|
455
|
+
</dict>
|
456
|
+
<key>end</key>
|
457
|
+
<string>-\}</string>
|
458
|
+
<key>name</key>
|
459
|
+
<string>comment.block.haskell</string>
|
460
|
+
<key>patterns</key>
|
461
|
+
<array>
|
462
|
+
<dict>
|
463
|
+
<key>include</key>
|
464
|
+
<string>#block_comment</string>
|
465
|
+
</dict>
|
466
|
+
</array>
|
467
|
+
</dict>
|
468
|
+
<key>comments</key>
|
469
|
+
<dict>
|
470
|
+
<key>patterns</key>
|
471
|
+
<array>
|
472
|
+
<dict>
|
473
|
+
<key>captures</key>
|
474
|
+
<dict>
|
475
|
+
<key>1</key>
|
476
|
+
<dict>
|
477
|
+
<key>name</key>
|
478
|
+
<string>punctuation.definition.comment.haskell</string>
|
479
|
+
</dict>
|
480
|
+
</dict>
|
481
|
+
<key>match</key>
|
482
|
+
<string>(--).*$\n?</string>
|
483
|
+
<key>name</key>
|
484
|
+
<string>comment.line.double-dash.haskell</string>
|
485
|
+
</dict>
|
486
|
+
<dict>
|
487
|
+
<key>include</key>
|
488
|
+
<string>#block_comment</string>
|
489
|
+
</dict>
|
490
|
+
</array>
|
491
|
+
</dict>
|
492
|
+
<key>infix_op</key>
|
493
|
+
<dict>
|
494
|
+
<key>match</key>
|
495
|
+
<string>(\([|!%$+:\-.=</>]+\)|\(,+\))</string>
|
496
|
+
<key>name</key>
|
497
|
+
<string>entity.name.function.infix.haskell</string>
|
498
|
+
</dict>
|
499
|
+
<key>module_exports</key>
|
500
|
+
<dict>
|
501
|
+
<key>begin</key>
|
502
|
+
<string>\(</string>
|
503
|
+
<key>end</key>
|
504
|
+
<string>\)</string>
|
505
|
+
<key>name</key>
|
506
|
+
<string>meta.declaration.exports.haskell</string>
|
507
|
+
<key>patterns</key>
|
508
|
+
<array>
|
509
|
+
<dict>
|
510
|
+
<key>match</key>
|
511
|
+
<string>\b[a-z][a-zA-Z_']*</string>
|
512
|
+
<key>name</key>
|
513
|
+
<string>entity.name.function.haskell</string>
|
514
|
+
</dict>
|
515
|
+
<dict>
|
516
|
+
<key>match</key>
|
517
|
+
<string>\b[A-Z][A-Za-z_']*</string>
|
518
|
+
<key>name</key>
|
519
|
+
<string>storage.type.haskell</string>
|
520
|
+
</dict>
|
521
|
+
<dict>
|
522
|
+
<key>match</key>
|
523
|
+
<string>,</string>
|
524
|
+
<key>name</key>
|
525
|
+
<string>punctuation.separator.comma.haskell</string>
|
526
|
+
</dict>
|
527
|
+
<dict>
|
528
|
+
<key>include</key>
|
529
|
+
<string>#infix_op</string>
|
530
|
+
</dict>
|
531
|
+
<dict>
|
532
|
+
<key>comment</key>
|
533
|
+
<string>So named because I don't know what to call this.</string>
|
534
|
+
<key>match</key>
|
535
|
+
<string>\(.*?\)</string>
|
536
|
+
<key>name</key>
|
537
|
+
<string>meta.other.unknown.haskell</string>
|
538
|
+
</dict>
|
539
|
+
</array>
|
540
|
+
</dict>
|
541
|
+
<key>module_name</key>
|
542
|
+
<dict>
|
543
|
+
<key>match</key>
|
544
|
+
<string>[A-Z][A-Za-z._']*</string>
|
545
|
+
<key>name</key>
|
546
|
+
<string>support.other.module.haskell</string>
|
547
|
+
</dict>
|
548
|
+
<key>pragma</key>
|
549
|
+
<dict>
|
550
|
+
<key>begin</key>
|
551
|
+
<string>\{-#</string>
|
552
|
+
<key>end</key>
|
553
|
+
<string>#-\}</string>
|
554
|
+
<key>name</key>
|
555
|
+
<string>meta.preprocessor.haskell</string>
|
556
|
+
<key>patterns</key>
|
557
|
+
<array>
|
558
|
+
<dict>
|
559
|
+
<key>match</key>
|
560
|
+
<string>\b(LANGUAGE|UNPACK|INLINE)\b</string>
|
561
|
+
<key>name</key>
|
562
|
+
<string>keyword.other.preprocessor.haskell</string>
|
563
|
+
</dict>
|
564
|
+
</array>
|
565
|
+
</dict>
|
566
|
+
<key>type_signature</key>
|
567
|
+
<dict>
|
568
|
+
<key>patterns</key>
|
569
|
+
<array>
|
570
|
+
<dict>
|
571
|
+
<key>captures</key>
|
572
|
+
<dict>
|
573
|
+
<key>1</key>
|
574
|
+
<dict>
|
575
|
+
<key>name</key>
|
576
|
+
<string>entity.other.inherited-class.haskell</string>
|
577
|
+
</dict>
|
578
|
+
<key>2</key>
|
579
|
+
<dict>
|
580
|
+
<key>name</key>
|
581
|
+
<string>variable.other.generic-type.haskell</string>
|
582
|
+
</dict>
|
583
|
+
<key>3</key>
|
584
|
+
<dict>
|
585
|
+
<key>name</key>
|
586
|
+
<string>keyword.other.big-arrow.haskell</string>
|
587
|
+
</dict>
|
588
|
+
</dict>
|
589
|
+
<key>match</key>
|
590
|
+
<string>\(\s*([A-Z][A-Za-z]*)\s+([a-z][A-Za-z_']*)\)\s*(=>)</string>
|
591
|
+
<key>name</key>
|
592
|
+
<string>meta.class-constraint.haskell</string>
|
593
|
+
</dict>
|
594
|
+
<dict>
|
595
|
+
<key>include</key>
|
596
|
+
<string>#pragma</string>
|
597
|
+
</dict>
|
598
|
+
<dict>
|
599
|
+
<key>match</key>
|
600
|
+
<string>-></string>
|
601
|
+
<key>name</key>
|
602
|
+
<string>keyword.other.arrow.haskell</string>
|
603
|
+
</dict>
|
604
|
+
<dict>
|
605
|
+
<key>match</key>
|
606
|
+
<string>=></string>
|
607
|
+
<key>name</key>
|
608
|
+
<string>keyword.other.big-arrow.haskell</string>
|
609
|
+
</dict>
|
610
|
+
<dict>
|
611
|
+
<key>match</key>
|
612
|
+
<string>\b(Int(eger)?|Maybe|Either|Bool|Float|Double|Char|String|Ordering|ShowS|ReadS|FilePath|IO(Error)?)\b</string>
|
613
|
+
<key>name</key>
|
614
|
+
<string>support.type.prelude.haskell</string>
|
615
|
+
</dict>
|
616
|
+
<dict>
|
617
|
+
<key>match</key>
|
618
|
+
<string>\b[a-z][a-zA-Z0-9_']*\b</string>
|
619
|
+
<key>name</key>
|
620
|
+
<string>variable.other.generic-type.haskell</string>
|
621
|
+
</dict>
|
622
|
+
<dict>
|
623
|
+
<key>match</key>
|
624
|
+
<string>\b[A-Z][a-zA-Z0-9_']*\b</string>
|
625
|
+
<key>name</key>
|
626
|
+
<string>storage.type.haskell</string>
|
627
|
+
</dict>
|
628
|
+
<dict>
|
629
|
+
<key>match</key>
|
630
|
+
<string>\(\)</string>
|
631
|
+
<key>name</key>
|
632
|
+
<string>support.constant.unit.haskell</string>
|
633
|
+
</dict>
|
634
|
+
<dict>
|
635
|
+
<key>include</key>
|
636
|
+
<string>#comments</string>
|
637
|
+
</dict>
|
638
|
+
</array>
|
639
|
+
</dict>
|
640
|
+
</dict>
|
641
|
+
<key>scopeName</key>
|
642
|
+
<string>source.haskell</string>
|
643
|
+
<key>uuid</key>
|
644
|
+
<string>5C034675-1F6D-497E-8073-369D37E2FD7D</string>
|
645
|
+
</dict>
|
646
|
+
</plist>
|