From fbcf1643d6b61056653fc8ac98ed7fd09fabfad7 Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Fri, 7 Jan 2022 12:31:29 -0600 Subject: [PATCH] Add nvim-scrollbar --- nvim/plugins.vimrc | 1 + nvim/scrollbar.vimrc | 3 +++ vimrc | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 nvim/scrollbar.vimrc diff --git a/nvim/plugins.vimrc b/nvim/plugins.vimrc index 9f2426f..6ea6ef0 100644 --- a/nvim/plugins.vimrc +++ b/nvim/plugins.vimrc @@ -6,6 +6,7 @@ Plug 'leafoftree/vim-svelte-plugin', { 'for': 'svelte' } Plug 'lukas-reineke/indent-blankline.nvim' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} +Plug 'petertriho/nvim-scrollbar' Plug 'posva/vim-vue', { 'for': 'vue' } Plug 'ron-rs/ron.vim', { 'for': 'ron' } Plug 'tommcdo/vim-exchange' diff --git a/nvim/scrollbar.vimrc b/nvim/scrollbar.vimrc new file mode 100644 index 0000000..1a8f41c --- /dev/null +++ b/nvim/scrollbar.vimrc @@ -0,0 +1,3 @@ +lua << EOF +require('scrollbar').setup() +EOF diff --git a/vimrc b/vimrc index 6cce494..f2805ce 100644 --- a/vimrc +++ b/vimrc @@ -118,6 +118,11 @@ if filereadable(expand("~/.config/nvim/git.vimrc")) source ~/.config/nvim/git.vimrc endif +" Scrollbar +if filereadable(expand("~/.config/nvim/scrollbar.vimrc")) + source ~/.config/nvim/scrollbar.vimrc +endif + " Tree setup if filereadable(expand("~/.config/nvim/nvimtree.vimrc")) source ~/.config/nvim/nvimtree.vimrc