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

Setting offsets.text with empty will leave a empty line #984

Open
1 task done
Kaiser-Yang opened this issue Dec 30, 2024 · 1 comment
Open
1 task done

Setting offsets.text with empty will leave a empty line #984

Kaiser-Yang opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Kaiser-Yang
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

When I remove the offsets.text or set it with empty, I'll have a empty line at the side bar of neo-tree:

image

What did you expect to happen?

No empty line when setting text with nil.

Config

        options = {
            offsets = {
                {
                    filetype = 'neo-tree',
                    -- text = nil,
                    highlight = 'Directory',
                    -- text_align = 'left',
                },
            },
        }

Additional Information

...

commit

No response

@Kaiser-Yang Kaiser-Yang added the bug Something isn't working label Dec 30, 2024
@Kaiser-Yang
Copy link
Author

For neo-tree configurations:

    {
        source_selector = {
            winbar = true,
        }
    }

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

1 participant