]> git.ipfire.org Git - thirdparty/vim.git/commit
runetime(vim): gf maybe hang and fail
authorShane-XB-Qian <shane.qian@foxmail.com>
Tue, 12 Aug 2025 19:28:28 +0000 (21:28 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 12 Aug 2025 19:28:28 +0000 (21:28 +0200)
commit639d93fc0efe925ec87f31db7f3ccdc0add4e247
treee643c4c45740ae678161ca3ff77425e08b39f88d
parent487dd1716a028efd0cc1bc1b4bfdc53b82688641
runetime(vim): gf maybe hang and fail

* searching'**' maybe terrible slow
* searching '**/plugin/' maybe fail
* the pattern for the :packadd/:import/:colorscheme
  did not consistently check for a colon, so always use
  '\%(:\s*\)\=' before the actual ex command

While at it rename the generic name vim.vim to vimgoto.vim as this more
clearly states what this script is for.

Signed-off-by: Shane-XB-Qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/vimgoto.vim [moved from runtime/autoload/vim.vim with 89% similarity]
runtime/ftplugin/vim.vim