Skip to content
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

Error detected while processing function <SNR>31_Cheatsheet: #25

Open
silveste opened this issue Jul 4, 2022 · 3 comments
Open

Error detected while processing function <SNR>31_Cheatsheet: #25

silveste opened this issue Jul 4, 2022 · 3 comments

Comments

@silveste
Copy link

silveste commented Jul 4, 2022

Hi,

I really love this plugin, however recently I came across with one issue that I don't know how to solve.

When I try to open the cheatsheet I get this error:

Error detected while processing function <SNR>31_Cheatsheet:
line    5:
E5108: Error executing lua .../start/cheatsheet.nvim/lua/cheatsheet/telescope/init.lua:43: attempt to index a nil value
stack traceback:
	.../start/cheatsheet.nvim/lua/cheatsheet/telescope/init.lua:43: in function 'entry_maker'
	...scope.nvim/lua/telescope/finders/async_static_finder.lua:17: in function 'new_table'
	.../start/cheatsheet.nvim/lua/cheatsheet/telescope/init.lua:26: in function 'pick_cheat'
	...ack/packer/start/cheatsheet.nvim/lua/cheatsheet/init.lua:186: in function 'show_cheatsheet_telescope'
	...ack/packer/start/cheatsheet.nvim/lua/cheatsheet/init.lua:193: in function 'show_cheatsheet'
	[string ":lua"]:1: in main chunk

In order to replicate the error you need to setup flex as a default layout strategy

require('telescope').setup{
    defaults = {
    	    layout_strategy = "flex",
	},
}

Any insights about this issue would be appreciate it
thank you in advance!

@zaatas
Copy link

zaatas commented Jul 19, 2022

Ditto. I have the same issue. Breaks with "flex".

@Spo0on
Copy link

Spo0on commented Dec 15, 2022

Same problem here. By the way we can't configure specific layout_config for this extension.

@duraki
Copy link

duraki commented Aug 6, 2023

Same here. @sudormrfbin any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants