diff options
Diffstat (limited to 'after/plugin/scrollbar.lua')
-rw-r--r-- | after/plugin/scrollbar.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/after/plugin/scrollbar.lua b/after/plugin/scrollbar.lua new file mode 100644 index 0000000..7421536 --- /dev/null +++ b/after/plugin/scrollbar.lua @@ -0,0 +1,22 @@ +local status_ok, scrollbar = pcall(require, "scrollbar") +if not status_ok then + return +end + +scrollbar.setup({ + hide_if_all_visible = true, + handle = { + hide_if_all_visible = true, + }, + marks = { + Cursor = { + text = "*", + } + }, + handlers = { + cursor = true, + diagnostic = true, + gitsigns = true, -- Requires gitsigns + handle = true, + }, +}) |