Skip to content

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

Description

@silveste

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions