Closed Jagua closed 9 years ago
What is your purpose?
ok. if i make an {action-for-A} by unite#custom#action for {ref-source-A}, {action-for-A} is showing all other ref sources now.
but, even if each ref plugin has their own kind (="ref/{ref-source-name}"), {action-for-A} is only showing {ref-source-A}.
i think {ref-source-B} will be better NOT to show {action-for-A}.
and in the case of making some actions by {ref-source-B or/and C or/and ...}, my PR prevents conflicting on popular kind names such as "preview".
You can define a custom action for a source.
See :help unite-implicit-kind-for-a-source
Oh...i made a mistake in "source/{name}/{kind}" at the help.
i successed call unite#custom#action('source/ref/{ref-source-name}/ref', 'preview', myaction)
.
thank you for your help.
Proposal
Each ref plugin has the unite kind name such as "ref/{ref-source-name}". And each "ref/{ref-source-name}" kind has "ref" kind as its parent.