]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1383: completion: 'isexpand' option does not handle space char correct v9.1.1383
authorglepnir <glephunter@gmail.com>
Mon, 12 May 2025 18:28:28 +0000 (20:28 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 12 May 2025 18:28:28 +0000 (20:28 +0200)
commit8d0e42b71023144e6db17534da41ffecbd0b655f
tree84fb8f1c401541f3ebdc0da56c66b2df32f925a4
parente62244f22dc81b86f76c6cf2f10a6aa3c8f1dd00
patch 9.1.1383: completion: 'isexpand' option does not handle space char correct

Problem:  When a space character is used as a trigger in 'isexpand' option
          it doesn't get recognized because skip_to_option_part() skips
          spaces after a comma, treating them as option separators
          rather than option value (after v9.1.1341)
Solution: manually set the part to a space character (glepnir).

closes: #17305

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/testdir/test_ins_complete.vim
src/version.c