mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
vim-patch:ffc89e4 runtime(doc): clarify complete_match() and 'isexpand' option
clarify complete_match() documentation to better explain its backward
search behavior, argument handling, and return value format and add an
example of isexpand
closes: https://github.com/vim/vim/pull/17212
ffc89e47d0
This commit is contained in:
@@ -4632,7 +4632,7 @@ local options = {
|
||||
abbreviation = 'ise',
|
||||
cb = 'did_set_isexpand',
|
||||
defaults = '',
|
||||
deny_duplicates = false,
|
||||
deny_duplicates = true,
|
||||
desc = [=[
|
||||
Defines characters and patterns for completion in insert mode. Used by
|
||||
the |complete_match()| function to determine the starting position for
|
||||
@@ -4643,6 +4643,10 @@ local options = {
|
||||
|
||||
Note: Use "\\," to add a literal comma as trigger character, see
|
||||
|option-backslash|.
|
||||
|
||||
Examples: >vim
|
||||
set isexpand=.,->,/*,\\,
|
||||
<
|
||||
]=],
|
||||
full_name = 'isexpand',
|
||||
list = 'onecomma',
|
||||
|
Reference in New Issue
Block a user