Closed pjones closed 4 years ago
Good idea, thank you.
I believe neuron--select-tag-from-query
should rather take an optional require-match
argument that controls this behavior, because in some cases (e.g. in neuron-query-tags
) we actually want the user to select an existing tag.
Also, I was thinking maybe entering a new tag could reload the zettel cache?
Good ideas. I'll update this PR.
@felko I added the require-match
argument and the cache rebuild.
Thank you!
If the user enters a tag name that does not exist
ivy-read
will return it, but thenget-text-property
will returnnil
. In that case just return the user-entered text.