diff --git a/lua/copilot/client/filetypes.lua b/lua/copilot/client/filetypes.lua index 1dff66db..2ede9b0e 100644 --- a/lua/copilot/client/filetypes.lua +++ b/lua/copilot/client/filetypes.lua @@ -69,11 +69,6 @@ function M.is_ft_disabled(ft, filetypes) string.format("'filetype' %s rejected by config filetypes[%s]", ft, "*") end - if M.internal_filetypes[short_ft] ~= nil then - return not M.internal_filetypes[short_ft], - string.format("'filetype' %s rejected by internal_filetypes[%s]", ft, short_ft) - end - return false end