diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-21 22:01:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-21 22:01:14 +0200 |
commit | ff06f283e3e4b3ec43012dd3b83f8454c98f6639 (patch) | |
tree | 61a07e0fa072ae02212421515c60745109f2b924 /runtime | |
parent | 1966c248814d5195edcd1208ed0e51e664a61283 (diff) |
patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'v8.2.0614
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
Lakshmanan)
Solution: Lock the text while evaluating 'completefunc'.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/insert.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 99c2d40e7d..ff74d625f4 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -666,8 +666,10 @@ Note: The keys that are valid in CTRL-X mode are not mapped. This allows for ends CTRL-X mode (any key that is not a valid CTRL-X mode command) is mapped. Also, when doing completion with 'complete' mappings apply as usual. -Note: While completion is active Insert mode can't be used recursively. -Mappings that somehow invoke ":normal i.." will generate an E523 error. + *E565* +Note: While completion is active Insert mode can't be used recursively and +buffer text cannot be changed. Mappings that somehow invoke ":normal i.." +will generate an E565 error. The following mappings are suggested to make typing the completion commands a bit easier (although they will hide other commands): > |