mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-06-06 04:15:31 +00:00
fix: Error properly when using invalid layout strategy
This commit is contained in:
@@ -172,7 +172,7 @@ function Picker:get_window_options(max_columns, max_lines, prompt_title)
|
||||
local getter = layout_strategies[layout_strategy]
|
||||
|
||||
if not getter then
|
||||
error("Not a valid layout strategy: ", layout_strategy)
|
||||
error("Not a valid layout strategy: " .. layout_strategy)
|
||||
end
|
||||
|
||||
return getter(self, max_columns, max_lines, prompt_title)
|
||||
|
||||
Reference in New Issue
Block a user