autoload/search.vim not loaded when using Plug and Vim 9.0
Konfekt opened this issue · 2 comments
Konfekt commented
The file autload/search.vim
is not loaded when using Plug and Vim 9.0.1632 on Opensuse 15.4 resulting in
Error detected while processing function <SNR>252_Jump:
line 37:
E117: Unknown function: search#SearchUsages
Adding runtime! autoload/search.vim
resolves the issue.
jiangyinzuo commented
The file
autload/search.vim
is not loaded when using Plug and Vim 9.0.1632 on Opensuse 15.4 resulting inError detected while processing function <SNR>252_Jump: line 37: E117: Unknown function: search#SearchUsagesAdding
runtime! autoload/search.vim
resolves the issue.
@Konfekt Are you using plugins like autosuggest.vim also have an autoload/search.vim file?
This is not a bug in the plugin. This is caused by a namespace conflict between plugins.
Konfekt commented
Thank you! Indeed, I have a search.vim
file in my local autoload folder.