diff options
author | Squibid <me@zacharyscheiman.com> | 2023-06-26 11:35:24 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-06-26 11:35:24 -0400 |
commit | 9e694c03721af13a31aedbfc365203cf66b370b4 (patch) | |
tree | 898c136e609a069b7342f5b438b8e85838a8bf7b /after/plugin/glance.lua | |
parent | d968ff639be3b6ecddb6ae224f3804f4eea566ba (diff) | |
download | nvim-9e694c03721af13a31aedbfc365203cf66b370b4.tar.gz nvim-9e694c03721af13a31aedbfc365203cf66b370b4.tar.bz2 nvim-9e694c03721af13a31aedbfc365203cf66b370b4.zip |
add plugin configs & mess with the binds
Diffstat (limited to 'after/plugin/glance.lua')
-rw-r--r-- | after/plugin/glance.lua | 30 |
1 files changed, 30 insertions, 0 deletions
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, + }, +} |