feat: remove unused vars

This commit is contained in:
Barrett Ruth 2026-02-01 23:12:05 -05:00
parent ae1df3e7a8
commit 655e032471

View file

@ -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