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
Invalid 'event': 'User TelescopeResumePost' #3094
Labels
bug
Something isn't working
Comments
sorry but thats not a telescope issue but rather an issue with your code. the correct code is as follows vim.api.nvim_create_autocmd("User", {
pattern = "TelescopeResumePost",
once = true,
callback = function()
print('User TelescopeResumePost works')
end,
}) we also have an example for user autocmds here in this section https://github.com/nvim-telescope/telescope.nvim?tab=readme-ov-file#previewers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I'm trying to set up an autocmd based on one of the events that telescope triggers, but I'm running into
Invalid 'event': 'User TelescopeResumePost'
no matter which event I pick.Neovim version
Operating system and version
Ubuntu 20.04
Telescope version / branch / rev
telescope 0.1.x
checkhealth telescope
to your config.
Expected behavior
The autocmd should register
Actual behavior
Invalid 'event': 'User TelescopeResumePost'
Minimal config
The text was updated successfully, but these errors were encountered: