summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/dressing.lua
blob: 64f972371a9a62e046227b63e11fb9f6cd085afa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local branch = nil
if vim.version().minor == 7 then
  branch = 'nvim-0.7'
elseif vim.version().minor == 5 then
  branch = 'nvim-0.5'
end

return { 'stevearc/dressing.nvim',
  disable = vim.version().minor < 5,
  branch = branch,
  requires = 'nvim-telescope/telescope.nvim',
  function()
    require('dressing').setup {
      input = {
        title_pos = "center",
        border = 'solid',
        relative = "win"
      }
    }
  end
}