diff --git a/lua/copilot/util.lua b/lua/copilot/util.lua index ab416966..4eb11981 100644 --- a/lua/copilot/util.lua +++ b/lua/copilot/util.lua @@ -104,14 +104,6 @@ function M.should_attach() return not ft_disabled, ft_disabled_reason end - if not vim.bo.buflisted then - return false, "buffer not 'buflisted'" - end - - if vim.bo.buftype ~= "" then - return false, "buffer 'buftype' is " .. vim.bo.buftype - end - return true end