chore(sidebar): set different filetype for the selected files buffer (#1097)

Set different filetypes so that [edgy.nvim](https://github.com/folke/edgy.nvim)
can easily identify the result buffer and the selected files buffer.
This commit is contained in:
Seong Yong-ju
2025-01-17 01:47:01 +09:00
committed by GitHub
parent da4ef9d9e9
commit 12beaebb2a

View File

@@ -2097,7 +2097,7 @@ function Sidebar:create_selected_files_container()
swapfile = false,
buftype = "nofile",
bufhidden = "wipe",
filetype = "Avante",
filetype = "AvanteSelectedFiles",
}),
win_options = vim.tbl_deep_extend("force", base_win_options, {
wrap = Config.windows.wrap,