fix: update themes after layout_strategies refactor (#1262)
This commit is contained in:
@@ -37,11 +37,11 @@ function themes.get_dropdown(opts)
|
|||||||
preview_cutoff = 1, -- Preview should always show (unless previewer = false)
|
preview_cutoff = 1, -- Preview should always show (unless previewer = false)
|
||||||
|
|
||||||
width = function(_, max_columns, _)
|
width = function(_, max_columns, _)
|
||||||
return math.min(max_columns - 3, 80)
|
return math.min(max_columns, 80)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
height = function(_, _, max_lines)
|
height = function(_, _, max_lines)
|
||||||
return math.min(max_lines - 4, 15)
|
return math.min(max_lines, 15)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -75,13 +75,8 @@ function themes.get_cursor(opts)
|
|||||||
results_title = false,
|
results_title = false,
|
||||||
layout_strategy = "cursor",
|
layout_strategy = "cursor",
|
||||||
layout_config = {
|
layout_config = {
|
||||||
width = function(_, _, _)
|
width = 80,
|
||||||
return 80
|
height = 9,
|
||||||
end,
|
|
||||||
|
|
||||||
height = function(_, _, _)
|
|
||||||
return 6
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
borderchars = {
|
borderchars = {
|
||||||
prompt = { "─", "│", " ", "│", "╭", "╮", "│", "│" },
|
prompt = { "─", "│", " ", "│", "╭", "╮", "│", "│" },
|
||||||
|
|||||||
Reference in New Issue
Block a user