summaryrefslogtreecommitdiffstats
path: root/txr.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-14 02:13:32 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-14 02:13:32 -0800
commit0724ed01b5190fcebf0249f81cf79064c472ee91 (patch)
treeb83cb6e7f0f39231507ac588818ac98956a4e85f /txr.vim
parent341ac57c0bcbdc31571ec0d63c63803d502c5a4a (diff)
downloadtxr-0724ed01b5190fcebf0249f81cf79064c472ee91.tar.gz
txr-0724ed01b5190fcebf0249f81cf79064c472ee91.tar.bz2
txr-0724ed01b5190fcebf0249f81cf79064c472ee91.zip
* eval.c (rangev): If a descending range is specified,
but the step is omitted, the step should be negative one rather than one. (range_star_v_func, range_star_v): New static functions. (eval_init): New function, range*, registered. * txr.1: Stub section for range is also for range*. * txr.vim: Recognize range* function.
Diffstat (limited to 'txr.vim')
-rw-r--r--txr.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/txr.vim b/txr.vim
index f75ec957..cfae4e2d 100644
--- a/txr.vim
+++ b/txr.vim
@@ -80,7 +80,7 @@ syn keyword txl_keyword contained functionp interp-fun-p *random-state*
syn keyword txl_keyword contained make-random-state random-state-p
syn keyword txl_keyword contained random-fixnum random
-syn keyword txl_keyword contained range generate repeat force
+syn keyword txl_keyword contained range range* generate repeat force
syn match txr_hash "#" contained
syn match txr_quote "[,']" contained
@@ -113,7 +113,7 @@ syn region txr_directive matchgroup=Delimiter start="@[ \t]*(" matchgroup=Delimi
syn region txr_list contained matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" contains=txl_keyword,txr_string,txr_regex,txr_num,txr_ident,txr_variable,txr_metanum,txr_meta,txr_metabkt,txr_list,txr_dwim,txr_quasilit,txr_chr,txr_hash,txr_quote,txr_ncomment
-syn region txr_dwim contained matchgroup=Delimiter start="\[" matchgroup=Delimiter end="\]" contains=txl_keyword,txr_string,txr_regex,txr_num,txr_ident,txr_variable,txr_metanum,txr_meta,txr_metabkt,txr_list,txr_dwim,txr_dwim,txr_quasilit,txr_chr,txr_hash,txr_quote,txr_ncomment
+ayn region txr_dwim contained matchgroup=Delimiter start="\[" matchgroup=Delimiter end="\]" contains=txl_keyword,txr_string,txr_regex,txr_num,txr_ident,txr_variable,txr_metanum,txr_meta,txr_metabkt,txr_list,txr_dwim,txr_dwim,txr_quasilit,txr_chr,txr_hash,txr_quote,txr_ncomment
syn region txr_meta contained matchgroup=Delimiter start="@[ \t]*(" matchgroup=Delimiter end=")" contains=txl_keyword,txr_string,txr_list,txr_dwim,txr_regex,txr_num,txr_ident,txr_variable,txr_metanum,txr_meta,txr_metabkt,txr_quasilit,txr_chrb,txr_hash,txr_quote,txr_ncomment