nvim_runtime_lua

vim.pack.PlugInfo

Fields8

PlugInfo.err : string

The latest error when working on plugin. If non-empty, all further actions should not be done (including triggering events).

PlugInfo.installed : nil | boolean

Whether plugin was successfully installed.

PlugInfo.updated : nil | boolean

Whether plugin was successfully updated.

PlugInfo.version_str : nil | string

spec.version with resolved version range.

PlugInfo.version_ref : nil | string

Resolved version as Git reference (if different from version_str).

PlugInfo.sha_head : nil | string

Git hash of HEAD.

PlugInfo.sha_target : nil | string

Git hash of version_ref.

PlugInfo.update_details : nil | string

Details about the update:: changelog if HEAD and target are different, available newer tags otherwise.