feat(nvim): relative lines are back, current line hide

This commit is contained in:
Florian Schmitt 2024-04-28 10:51:15 +03:00
parent 9917cf55f8
commit 9bb1566180
2 changed files with 5 additions and 4 deletions

View file

@ -94,9 +94,9 @@ return {
layout_strategy = "center",
layout_config = {
prompt_position = "top",
preview_cutoff = 1, -- Preview should always show (unless previewer = false)
preview_cutoff = 5, -- Preview should always show (unless previewer = false)
width = function(_, max_columns, _)
return math.min(max_columns, 80)
return math.min(max_columns, 120)
end,
height = function(_, _, max_lines)
return math.min(max_lines, 15)