local registers = require("registers")

registers.setup({
  hide_only_whitespace = true,
  show_empty = true,
  trim_whitespace = true,
  window = {
    border = "rounded"
  },
  registers_delay = 0,
  registers_register_key_sleep = 0,
  registers_show_empty_registers = 1,
  registers_trim_whitespace = 1,
  registers_hide_only_whitespace = 1,
  registers_window_border = "rounded",
  registers_window_min_height = 3,
  registers_window_max_width = 100,
  registers_normal_mode = 1,
  registers_visual_mode = 1,
  registers_insert_mode = 1,
})

-- vim.g.registers_return_symbol = "\n" --'⏎' by default
-- vim.g.registers_tab_symbol = "\t" --'·' by default
-- vim.g.registers_space_symbol = " " --' ' by default

-- vim.g.registers_delay = 0 --0 by default, milliseconds to wait before opening the popup window
-- vim.g.registers_register_key_sleep = 0 --0 by default, seconds to wait before closing the window when a register key is pressed
-- vim.g.registers_show_empty_registers = 1 --1 by default, an additional line with the registers without content
-- vim.g.registers_trim_whitespace = 1 --1 by default, don't show whitespace at the begin and end of the registers
-- vim.g.registers_hide_only_whitespace = 1 --0 by default, don't show registers filled exclusively with whitespace
-- vim.g.registers_window_border = "rounded" --'none' by default, can be 'none', 'single','double', 'rounded', 'solid', or 'shadow' (requires Neovim 0.5.0+)
-- vim.g.registers_window_min_height = 3 --3 by default, minimum height of the window when there is the cursor at the bottom
-- vim.g.registers_window_max_width = 100 --100 by default, maximum width of the window
-- vim.g.registers_normal_mode = 1 --1 by default, open the window in normal mode
-- vim.g.registers_visual_mode = 1 --1 by default, open the window in visual mode
-- vim.g.registers_insert_mode = 1 --1 by default, open the window in insert mode
-- vim.g.registers_show = "*+\"" --'*+\"-/_=#%.0123456789abcdefghijklmnopqrstuvwxyz' by default, which registers to show and in what order
