-*builtin.txt* For Vim version 9.1. Last change: 2025 Apr 24
+*builtin.txt* For Vim version 9.1. Last change: 2025 Apr 27
VIM REFERENCE MANUAL by Bram Moolenaar
Return type: dict<any>
complete_match([{lnum}, {col}]) *complete_match()*
- Returns a List of matches found according to the 'isexpand'
- option. Each match is represented as a List containing
+ Searches backward from the given position and returns a List
+ of matches according to the 'isexpand' option. When no
+ arguments are provided, uses the current cursor position.
+
+ Each match is represented as a List containing
[startcol, trigger_text] where:
- startcol: column position where completion should start,
or -1 if no trigger position is found. For multi-character
When 'isexpand' is empty, uses the 'iskeyword' pattern
"\k\+$" to find the start of the current keyword.
- When no arguments are provided, uses the current cursor
- position.
-
Examples: >
set isexpand=.,->,/,/*,abc
func CustomComplete()
-*options.txt* For Vim version 9.1. Last change: 2025 Apr 24
+*options.txt* For Vim version 9.1. Last change: 2025 Apr 27
VIM REFERENCE MANUAL by Bram Moolenaar
Note: Use "\\," to add a literal comma as trigger character, see
|option-backslash|.
+ Examples: >
+ set isexpand=.,->,/*,\\,
+<
+
*'insertmode'* *'im'* *'noinsertmode'* *'noim'*
'insertmode' 'im' boolean (default off)
global