Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

|buffers} sort by name is wrong #52

Open
gbcreation opened this issue Mar 10, 2022 · 3 comments
Open

|buffers} sort by name is wrong #52

gbcreation opened this issue Mar 10, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@gbcreation
Copy link

Describe the bug

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

@gbcreation gbcreation added the bug Something isn't working label Mar 10, 2022
@GustavoKatel
Copy link
Member

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

@gbcreation
Copy link
Author

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,
})

@GustavoKatel
Copy link
Member

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants