ack.vim icon indicating copy to clipboard operation
ack.vim copied to clipboard

Try to set ackprg on every invocation

Open robin92 opened this issue 2 years ago • 1 comments

Before this change, plugin would stop initialization unless g:ackprg has been found. This would prohibit from loading :Ack, :AckFromSearch and other autoload commands from being accessible. With this patch, plugin continues initialization when g:ackprg is missing and retries setting it when one of the autoload commands is called.

robin92 avatar May 03 '22 07:05 robin92

To give more context, I configure plugins using after directory. Setting g:ackprg there would cause :Ack command not to be present in VIM as g:ackprg would be set after the plugin has been initialized.

robin92 avatar May 03 '22 07:05 robin92