Mercurial > vim
diff runtime/doc/insert.txt @ 16237:56451a2677dc v8.1.1123
patch 8.1.1123: no way to avoid filtering for autocomplete function
commit https://github.com/vim/vim/commit/73655cf0ca37a9aa8f56fc51bb853a8b1f7b43d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 6 13:45:55 2019 +0200
patch 8.1.1123: no way to avoid filtering for autocomplete function
Problem: No way to avoid filtering for autocomplete function, causing
flickering of the popup menu.
Solution: Add the "equal" field to complete items. (closes #3887)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Apr 2019 14:00:05 +0200 |
parents | a23c883685cb |
children | b471858040bc |
line wrap: on
line diff
--- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1105,6 +1105,9 @@ items: icase when non-zero case is to be ignored when comparing items to be equal; when omitted zero is used, thus items that only differ in case are added + equal when non-zero, always treat this item to be equal when + comparing. Which means, "equal=1" disables filtering + of this item. dup when non-zero this match will be added even when an item with the same word is already present. empty when non-zero this match will be added even when it is @@ -1112,10 +1115,10 @@ items: user_data custom data which is associated with the item and available in |v:completed_item| -All of these except "icase", "dup" and "empty" must be a string. If an item -does not meet these requirements then an error message is given and further -items in the list are not used. You can mix string and Dictionary items in -the returned list. +All of these except "icase", "equal", "dup" and "empty" must be a string. If +an item does not meet these requirements then an error message is given and +further items in the list are not used. You can mix string and Dictionary +items in the returned list. The "menu" item is used in the popup menu and may be truncated, thus it should be relatively short. The "info" item can be longer, it will be displayed in