diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-09-30 13:17:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-09-30 13:17:02 +0000 |
commit | da9591ecfd31fab84e9fbca393b198e4de2de880 (patch) | |
tree | 00528af3b2273cc6fd6e33db83d99c883701a3dc /runtime/doc | |
parent | becf428bc0ac7f7c5c1cc9e3213c025655c0beea (diff) | |
download | vim-da9591ecfd31fab84e9fbca393b198e4de2de880.zip |
updated for version 7.2-266
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/map.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 607295779..e7b93787c 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -224,6 +224,10 @@ expression is evaluated to obtain the {rhs} that is used. Example: > The result of the InsertDot() function will be inserted. It could check the text before the cursor and start omni completion when some condition is met. +For abbreviations |v:char| is set to the character that was typed to trigger +the abbreviation. You can use this to decide how to expand the {lhs}. You +can't change v:char and you should not insert it. + Be very careful about side effects! The expression is evaluated while obtaining characters, you may very well make the command dysfunctional. For this reason the following is blocked: |