-
-
Notifications
You must be signed in to change notification settings - Fork 851
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
Custom entry maker fails with warning "table index is nil" #3374
Labels
bug
Something isn't working
Comments
does it work if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I have a custom entry maker for listing functions and methods in Go programs, and it fails with a "table index is nil" error coming from the
lua/telescope/sorters.lua
program.Here's the configuration I'm using:
Here's the warning message I see in Neovim:
Neovim version
Operating system and version
macOS 15.1
Telescope version / branch / rev
telescope 0.1.8
checkhealth telescope
Steps to reproduce
Open any Go program (or any program with functions, for that matter).
Use the mapping you setup or just call the function yourself:
:lua ListFunctionsAndMethods()
You will probably see nothing. Check
:messages
to see any warnings:Expected behavior
I expect the finder to be populated with results
Actual behavior
The finder is empty because Telescope failed to sort the table results
Minimal config
The text was updated successfully, but these errors were encountered: