Skip to content

feat(layout): set different ft for explorer layout#2728

Open
dpetka2001 wants to merge 1 commit intofolke:mainfrom
dpetka2001:fix/explorer_ft
Open

feat(layout): set different ft for explorer layout#2728
dpetka2001 wants to merge 1 commit intofolke:mainfrom
dpetka2001:fix/explorer_ft

Conversation

@dpetka2001
Copy link
Contributor

Description

This adds a specific filetype for Explorer root box. See #2097 for the reason it's needed. Although this only happens with barbar.nvim and not bufferline.nvim, so it might be implementation related, I think it's still useful to have a separate ft for the Explorer root box, as there might be other cases where an explicit filetype would be better for calculating offset, rather than the generic snacks_layout_box for all pickers.

Related Issue(s)

Closes #2097

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

layout picker size/m Medium PR (<50 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Ability to set/get explorer filetype

1 participant