From 655e0324716c099520da95c1382b31db312748f2 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 1 Feb 2026 23:12:05 -0500 Subject: [PATCH] feat: remove unused vars --- lua/fugitive-ts/health.lua | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lua/fugitive-ts/health.lua b/lua/fugitive-ts/health.lua index 4f3cc48..726efb0 100644 --- a/lua/fugitive-ts/health.lua +++ b/lua/fugitive-ts/health.lua @@ -15,22 +15,6 @@ function M.check() else vim.health.warn('vim-fugitive not detected (required for this plugin to be useful)') end - - ---@type string[] - local common_langs = { 'lua', 'python', 'javascript', 'typescript', 'rust', 'go', 'c', 'cpp' } - ---@type string[] - local available = {} - ---@type string[] - local missing = {} - - for _, lang in ipairs(common_langs) do - local ok = pcall(vim.treesitter.language.inspect, lang) - if ok then - table.insert(available, lang) - else - table.insert(missing, lang) - end - end end return M