What buftype if nui windows? #243
-
Screencast_00003.webmwhen opening any nui window - lualine looks like no good. to disable it i need to know filetype or buf type of nui. but i can't get it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
All the popup created by nui.nvim uses unlisted scratch buffer, created by If you want to set a specific Also as a default Neovim behavior - for any popup |
Beta Was this translation helpful? Give feedback.
All the popup created by nui.nvim uses unlisted scratch buffer, created by
vim.api.nvim_create_buf(false, true)
.If you want to set a specific
filetype
, you can passbuf_options = { filetype = 'anything' }
to the popup_options table when creating the popup.Also as a default Neovim behavior - for any popup
buftype
isnofile
, and for inputbuftype
isprompt
.