summaryrefslogtreecommitdiffstats
path: root/after/plugin/glance.lua
blob: 08f90d19fe87a1d08581c5bfcca55f93a44aeb04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
local status_ok, glance = pcall(require, "glance")
if not status_ok then
	return
end

local actions = glance.actions
glance.setup {
  detached = function(winid)
    return vim.api.nvim_win_get_width(winid) < 100
  end,

  border = {
    enable = true,
    top_char = '',
  },
  theme = {
    enable = false,
  },
  folds = {
    fold_closed = '>',
    fold_open = 'V',
    folded = true,
  },
  indent_lines = {
    enable = false,
  },
  winbar = {
    enable = true,
  },
}