diff options
| author | rockerBOO <rockerboo@gmail.com> | 2020-09-12 16:47:44 -0400 |
|---|---|---|
| committer | rockerBOO <rockerboo@gmail.com> | 2020-09-12 16:47:44 -0400 |
| commit | 5ef7578764a484795ac98a843b11846a0fa61f82 (patch) | |
| tree | e0d3a9998f1da27ad5a7fee738a352a60771b171 /lua | |
| parent | bf0b9ef555804bd9e8929fd4cc9320076e694931 (diff) | |
fix: Error properly when using invalid layout strategy
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/pickers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index d402b39..8ce8587 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -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) |
