" Vim syntax file
" Language: Bigtop (a language for describing database backed web apps)
" Maintaner: Phil Crow <crow.phil@gmail.com>
" Last Change: Sat Jul 10 17:04:09 2010
" Filenames: *.bigtop
"
" Note that this file was generated by skip/vimsyntax in the bigtop CPAN
" distribution.
if version < 600
syntax clear
else
if exists("b:current_syntax")
finish
endif
endif
syn case match
syn match bigtopComment /^#.*/
syn region bigtopString start=+`+ end=+`+
syn keyword bigtopBlocks block config app literal table field controller method sequence
syn keyword bigtopEngines MP13 MP20 TT
syn keyword bigtopValues no_gen no_accessor fast_cgi instance conffile with_server server_port gen_root flex_db full_use skip_config dbix model_base_class gantry_wrapper
syn keyword bigtopFieldValues text textarea select display
syn keyword bigtopSQLKeywords int4 varchar text boolean int primary_key assign_by_sequence auto
syn keyword bigtopBackendTypes CGI Conf Control Diagram HttpdConf Init Model SQL SiteLook
syn keyword bigtopBackends DB2 Gantry GantryCDBI GantryDBIxClass GantryDefault General GraphvizSql MySQL Postgres SQLite Std
syn keyword bigtopBackendKeywords conffile dbix extra_components fast_cgi flex_db full_use gantry_conf gantry_wrapper gen_root instance layout_flags layout_program model_base_class no_gen run_test server_port skip_config skip_layout template with_server
syn keyword bigtopAppKeywords authors contact_us copyright_holder email label license_text location no_gen uses
syn keyword bigtopAppLiteralKeywords Conf HttpdConf Location PerlBlock PerlTop SQL
syn keyword bigtopConfigKeywords app_dir base_dir engine plugins template_engine
syn keyword bigtopControllerKeywords autocrud_helper controls_table gen_uses location namespace_base no_gen page_link_label plugins rel_location skip_test soap_name stub_uses text_description uses
syn keyword bigtopControllerLiteralKeywords GantryLocation Location
syn keyword bigtopExtraSqlKeywords expects returns sql
syn keyword bigtopFieldKeywords accessor add_columns date_select_text html_form_class html_form_cols html_form_constraint html_form_default_value html_form_display_size html_form_fieldset html_form_foreign html_form_hint html_form_onchange html_form_optional html_form_options html_form_raw_html html_form_rows html_form_type is label no_gen non_essential not_for on_delete on_update pseudo_value quasi_refers_to refers_to searchable unique_name
syn keyword bigtopJoinTableKeywords data joins names
syn keyword bigtopMethodKeywords all_fields_but authed_methods col_labels cols expects extra_args extra_keys fields form_name header_option_perms header_options html_template limit_by literal livesearch no_gen order_by paged_conf permissions pseudo_cols returns row_option_perms row_options rows title where_terms
syn keyword bigtopTableKeywords data foreign_display label model_base_class no_gen not_for refered_to_by sequence
hi def link bigtopComment Comment
hi def link bigtopString String
hi def link bigtopBlocks Keyword
hi def link bigtopEngines Constant
hi def link bigtopBackendTypes Keyword
hi def link bigtopBackends Identifier
hi def link bigtopBackendKeywords Identifier
hi def link bigtopLiteralTypes Identifier
hi def link bigtopMethodTypes Keyword
hi def link bigtopValues Identifier
hi def link bigtopFieldValues Identifier
hi def link bigtopSQLKeywords Identifier
hi def link bigtopAppKeywords Identifier
hi def link bigtopAppLiteralKeywords Identifier
hi def link bigtopConfigKeywords Identifier
hi def link bigtopControllerKeywords Identifier
hi def link bigtopControllerLiteralKeywords Identifier
hi def link bigtopExtraSqlKeywords Identifier
hi def link bigtopFieldKeywords Identifier
hi def link bigtopJoinTableKeywords Identifier
hi def link bigtopMethodKeywords Identifier
hi def link bigtopTableKeywords Identifier
if exists("bigtop_fold")
syn region blockFold start="{" end ="}" transparent fold
syn sync fromstart
set foldmethod=syntax
endif