-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag.find
equivalent in new api
#111
Comments
I'm happy to add back something like ---Return the tags for a given scope. Used for integrations like telescope
---@param opts? { scope?: string }
---@return grapple.tag[] | nil, string? error
require("grapple").tags(opts) Where ---@class grapple.tag
---@field path string absolute path
---@field name string | nil (optional) tag name
---@field cursor integer[] (1, 0)-indexed cursor position Note: |
Yes, that works fine. Thanks. Please close this issue if you prefer to not implement it. |
@vtrvtr added |
Very neat! |
Hi, I used to have the following function
I used this to display the current tag in various places (telescope/whichkey). It seems this function was removed in the new update. Is there a way I can do something equivalent in the new api?
Thanks, awesome plugin.
The text was updated successfully, but these errors were encountered: