Skip to content

Conversation

@robin92
Copy link

@robin92 robin92 commented May 3, 2022

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.

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
Copy link
Author

robin92 commented May 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant