summaryrefslogtreecommitdiffstats
path: root/txr.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-01-26 19:43:14 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-01-26 19:43:14 -0800
commitd011fda9b6b078f09027eb65d500c8beffc99414 (patch)
tree0b526083a03a6f541ed46829deecee17c9c5f50b /txr.vim
parentfbe0c77a06a711bd746261406e47c16c55e660a8 (diff)
downloadtxr-d011fda9b6b078f09027eb65d500c8beffc99414.tar.gz
txr-d011fda9b6b078f09027eb65d500c8beffc99414.tar.bz2
txr-d011fda9b6b078f09027eb65d500c8beffc99414.zip
* arith.c (plus, minus): Better wording in error messages.
* eval.c (dwim_loc): Assignments to string indices and ranges supported. New arguments for this purpose. (op_modplace): Use new dwim_loc interface for returned value. (op_dwim): Support assignment to string ranges. (eval_init): replace_str registered. * lib.c (string_extend): If the argument is a number, let it specify the amount by which to extend the string. (replace_str): New function. * lib.h (replace_str): Declared. * txr.1: Updated. * txr.vim: Updated.
Diffstat (limited to 'txr.vim')
-rw-r--r--txr.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/txr.vim b/txr.vim
index 1ca420bc..b49ea26d 100644
--- a/txr.vim
+++ b/txr.vim
@@ -60,7 +60,7 @@ syn keyword txl_keyword contained make-sym gensym *gensym-counter* make-package
syn keyword txl_keyword contained intern symbolp symbol-name symbol-package keywordp
syn keyword txl_keyword contained mkstring copy-str upcase-str downcase-str string-extend
syn keyword txl_keyword contained stringp lazy-stringp length-str search-str search-str-tree
-syn keyword txl_keyword contained sub-str cat-str split-str
+syn keyword txl_keyword contained sub-str cat-str split-str replace-str
syn keyword txl_keyword contained split-str-set list-str trim-str
syn keyword txl_keyword contained string-lt int-str chrp chr-isalnum chr-isalpha
syn keyword txl_keyword contained chr-isascii chr-iscntrl chr-isdigit chr-isgraph