On Mon, 2004-09-20 at 16:02 -0400, Dossy Shiobara wrote: > On 2004.09.20, Jeremy Vinding <[EMAIL PROTECTED]> wrote: > > > > no reason to switch, vim is still the best, here is the adp syntax file: > > http://vim.sourceforge.net/scripts/script.php?script_id=553. > > That pulls in HTML and defines highlighting for OpenACS registered tags, > but doesn't pull in Tcl mode -- would need to be added. > > -- Dossy
hmm... i wonder where I got the one I use then. it does tcl mode between <% and %> I'll attach it --jjv -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
" Vim syntax file " Language: ADP (AOLServer Dynamic Pages) " Maintainer: Mark Aufflick <[EMAIL PROTECTED]> " URL: http://pumptheory.com/mark/src/vim/syntax/adp.vim " Last change: 2001 Aug 13 " Credits : Based on jsp.vim by Rafael Garcia-Suarez <[EMAIL PROTECTED]> " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded if version < 600 syntax clear elseif exists("b:current_syntax") finish endif if !exists("main_syntax") let main_syntax = 'adp' endif " Source HTML syntax if version < 600 source <sfile>:p:h/html.vim else runtime! syntax/html.vim endif unlet b:current_syntax " Next syntax items are case-sensitive syn case match " Include Tcl syntax syn include @adpTcl <sfile>:p:h/tcl.vim syntax keyword tclStatement ns_2x ns_accesslog ns_addrbyhost ns_adp_abort ns_adp_argc ns_adp_argv ns_adp_bind_args ns_adp_break ns_adp_debug ns_adp_debuginit ns_adp_dir ns_adp_dump ns_adp_eval ns_adp_exception ns_adp_include ns_adp_mimetype ns_adp_parse ns_adp_puts ns_adp_registeradp ns_adp_registertag ns_adp_return ns_adp_stream ns_adp_tell ns_adp_trunc ns_after ns_atclose ns_atexit ns_atshutdown ns_atsignal ns_browsermatch ns_buildsqldate ns_buildsqltime ns_buildsqltimestamp ns_cache ns_cache_flush ns_cache_keys ns_cache_names ns_cache_size ns_cache_stats ns_cancel ns_checkurl ns_chmod ns_column ns_cond ns_config ns_configsection ns_configsections ns_conn ns_conncptofp ns_connsendfp ns_cp ns_cpfp ns_critsec ns_crypt ns_db ns_dbconfigpath ns_dberrorcode ns_dberrormsg ns_dbquotename ns_dbquotevalue ns_dbreturnerror ns_env ns_eval ns_event ns_findset ns_fmttime ns_formvalueput ns_ftruncate ns_get_multipart_formdata ns_getchannels ns_getcsv ns_getform ns_geturl ns_gifsize ns_gmtime ns_guesstype ns_headers ns_hostbyaddr ns_hrefs ns_htmlselect ns_httptime ns_info ns_issmallint ns_jpegsize ns_kill ns_library ns_link ns_localsqltimestamp ns_localtime ns_log ns_logroll ns_markfordelete ns_mkdir ns_mktemp ns_module ns_modulepath ns_mutex ns_mysql ns_normalizepath ns_openexcl ns_paren ns_parseheader ns_parsehttptime ns_parsequery ns_parsesqldate ns_parsesqltime ns_parsesqltimestamp ns_parsetime ns_pause ns_pg ns_pg_bind ns_pooldescription ns_purgefiles ns_puts ns_queryexists ns_queryget ns_querygetall ns_quotehtml ns_quotelisttolist ns_rand ns_register_adptag ns_register_filter ns_register_proc ns_register_trace ns_rename ns_requestauthorize ns_respond ns_resume ns_return ns_returnadminnotice ns_returnbadrequest ns_returnerror ns_returnfile ns_returnforbidden ns_returnfp ns_returnnotfound ns_returnnotice ns_returnok ns_returnredirect ns_returnunauthorized ns_rmdir ns_rollfile ns_rwlock ns_schedule_daily ns_schedule_proc ns_schedule_weekly ns_sema ns_sendmail ns_server ns_set ns_set_precision ns_setexpires ns_share ns_shutdown ns_sleep ns_sockaccept ns_sockblocking ns_sockcallback ns_sockcheck ns_socketpair ns_socklisten ns_socklistencallback ns_socknonblocking ns_socknread ns_sockopen ns_sockselect ns_sourceproc ns_stats ns_striphtml ns_symlink ns_table ns_tagelement ns_tagelementset ns_tcl_abort ns_thread ns_time ns_tmpnam ns_truncate ns_unlink ns_unregister_proc ns_unschedule_proc ns_updateheader ns_url2file ns_urldecode ns_urlencode ns_utf8 ns_uudecode ns_uuencode ns_var ns_write ns_writecontent ns_writecsv ns_writefp ns_xml ns_md5_encrypt ns_dbquotevalue contained syn region adpScriptlet matchgroup=adpTag start=/<%/ keepend end=/%>/ [EMAIL PROTECTED] syn region adpExpr matchgroup=adpTag start=/<%=/ keepend end=/%>/ [EMAIL PROTECTED] " Define the default highlighting. " For version 5.7 and earlier: only when not done already " For version 5.8 and later: only when an item doesn't have highlighting yet if version >= 508 || !exists("did_adp_syn_inits") if version < 508 let did_adp_syn_inits = 1 command -nargs=+ HiLink hi link <args> else command -nargs=+ HiLink hi def link <args> endif " Be consistent with html highlight settings HiLink adpTag htmlTag HiLink adpDirName htmlTagName HiLink adpDirArg htmlArg HiLink adpCommand adpTag HiLink adpCommandName htmlTagName HiLink adpCommandArg htmlArg delcommand HiLink endif if main_syntax == 'adp' unlet main_syntax endif let b:current_syntax = "adp" " vim: ts=8 -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
