sidebar.nvim icon indicating copy to clipboard operation
sidebar.nvim copied to clipboard

|buffers} sort by name is wrong

Open gbcreation opened this issue 3 years ago • 3 comments

Describe the bug

When setting the buffers builtin section to sort buffers by name, buffers are not correctly alphabetically sorted.

gbcreation avatar Mar 10 '22 11:03 gbcreation

hi @gbcreation can you provide an example? maybe a screenshot? Also can you share your sidebar configuration?

GustavoKatel avatar Mar 12 '22 16:03 GustavoKatel

Hi @GustavoKatel , here is a screenshot of an example:

Screenshot_20220313_213210

and my sidebar configuration:

require('packer').use({
    'sidebar-nvim/sidebar.nvim',
    disable = false,
    config = function()
        require("sidebar-nvim").setup({
            open = true,
            hide_statusline = true,
            initial_width = 35,
            sections = { 'buffers', 'todos', 'git', 'files' },

            -- Configuration of the Buffers section
            buffers = {
                ignored_buffers = { 'sh', '.*SKIM', 'zsh' },
                show_numbers = false,
                sorting = 'name',
            },
        })
    end,
})

gbcreation avatar Mar 13 '22 20:03 gbcreation

hi @gbcreation I'm trying to reproduce your issue, but without much success. Are you using the latest code?

image

GustavoKatel avatar Jun 04 '22 19:06 GustavoKatel