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

Set filetype for select-node windows. #59

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

troiganto
Copy link
Contributor

I use the lualine plugin to give all my buffers a winbar. This bar reduces their height by 1, which the select-node buffer doesn't take into account when calculating its height. The consequence is that the last option in the selection menu is out of view.

Lualine allows the user to selectively disable it for certain filetypes and buftypes. This PR simply sets the filetype on the select buffer to org-roam-select so I can disable the winbar for this menu.

This allows configuring plugins like lualine to treat the window
specially, e.g. by disabling the winbar.
@chipsenkbeil chipsenkbeil merged commit 192732a into chipsenkbeil:main Aug 5, 2024
6 checks passed
@troiganto troiganto deleted the set-select-filetype branch August 5, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants