From 9e694c03721af13a31aedbfc365203cf66b370b4 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 26 Jun 2023 11:35:24 -0400 Subject: add plugin configs & mess with the binds --- after/plugin/glance.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 after/plugin/glance.lua (limited to 'after/plugin/glance.lua') diff --git a/after/plugin/glance.lua b/after/plugin/glance.lua new file mode 100644 index 0000000..08f90d1 --- /dev/null +++ b/after/plugin/glance.lua @@ -0,0 +1,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, + }, +} -- cgit v1.2.1