From ad3cd32bac24fe0466640e43f1a6929e35eba356 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 19 Sep 2025 23:22:24 -0400 Subject: [PATCH] fix(ci): relax extensino validation --- lua/cp/config.lua | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/lua/cp/config.lua b/lua/cp/config.lua index b80d5ad..e0b3a6c 100644 --- a/lua/cp/config.lua +++ b/lua/cp/config.lua @@ -139,23 +139,7 @@ function M.setup(user_config) return false end - for lang_name, lang_config in pairs(config) do - if type(lang_config) == 'table' then - if - lang_config.extension - and not vim.tbl_contains( - vim.tbl_keys(constants.filetype_to_language), - lang_config.extension - ) - then - return false, - ("Invalid extension '%s'. Valid extensions: %s"):format( - lang_config.extension, - table.concat(vim.tbl_keys(constants.filetype_to_language), ', ') - ) - end - end - end + -- Allow any language and extension configurations return true end,