For completeness, I want to post one more thing
-- a syntax highlighting file for vim that
understands this mix of Scheme and Perl. It's a
testament to vim's good design that something
like this could be implemented so easily. This
should be showing up in the March 2002 issue of
so consider this a sneak preview.
" Scheme w/ Perl as a preprocessor
" Language: Scheme+Perl
" Maintainer: John Beppu <firstname.lastname@example.org>
" Last Change: 2001 Dec 17
" Location: http://www.linux-mag.com/
" for portability
if version < 600
" load all of the scheme info
" load all of the perl info into @Perl
syntax include @Perl $VIMRUNTIME/syntax/perl.vim
syntax region scmplPerl
\ contains=@Perl, scmplPerl
" the script header
syntax match scmplSharpBang
" link syntax elements to standard highlighting groups
if version >= 508 || !exists("did_scmpl_syn_inits")
if version < 508
let did_scmpl_syn_inits = 1
command -nargs=+ HiLink hi link <args>
command -nargs=+ HiLink hi def link <args>
HiLink scmplSharpBang PreProc
let b:current_syntax = "scmpl"
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||