Skip to content

wsdjeg/scrollbar.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrollbar.nvim

GitHub License GitHub Issues or Pull Requests GitHub commit activity GitHub Release luarocks

Image

scrollbar.nvim is floating scrollbar plugin for neovim.

Installation

Using nvim-plug

require('plug').add({
    {
        'wsdjeg/scrollbar.vim',
        config = function()
            require('scrollbar').setup()
        end,
    },
})

Using luarocks

luarocks install --server=https://luarocks.org/manifests/wsdjeg scrollbar.nvim

For vim support, please checkout v1.0.0:

Plug 'wsdjeg/scrollbar.nvim', { 'tag': 'v1.0.0' }

Setup

The default option:

require('scrollbar').setup({
    max_size = 10,
    min_size = 5,
    width = 1,
    right_offset = 1,
    excluded_filetypes = {
        'startify',
        'git-commit',
        'leaderf',
        'NvimTree',
        'tagbar',
        'defx',
        'neo-tree',
        'qf',
    },
    shape = {
        head = '',
        body = '',
        tail = '',
    },
    highlight = {
        head = 'Normal',
        body = 'Normal',
        tail = 'Normal',
    },
})

Debug

Using logger.nvim:

require('plug').add({
    {
        'wsdjeg/scrollbar.vim',
        config = function()
            require('scrollbar').setup()
        end,
        depends = {
            { 'wsdjeg/logger.nvim' },
        },
    },
})

Self-Promotion

Like this plugin? Star the repository on GitHub.

Love this plugin? Follow me on GitHub and Twitter.

Credits

Feedback

If you encounter any bugs or have suggestions, please file an issue in the issue tracker

About

floating scrollbar plugin for neovim

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 3

  •  
  •  
  •  

Languages