local M = {} ---@param lang string M.template = function(lang) local base = [=[ .DS_Store .vscode/ .idea/ .env .env.* ]=] local lang_block = { python = vim.trim([=[ __pycache__/ build/ dist/ .venv/ env/ venv/ .pytest_cache/ ]=]), c = vim.trim([=[ build/ .cache/ ]=]), cpp = vim.trim([=[ build/ .cache/ ]=]), lua = vim.trim([=[ luac.out ]=]), java = vim.trim([=[ bin/ *.class *.jar ]=]), rust = vim.trim([=[ debug target **/*.rs.bk *.pdb **/mutants.out*/ rustc-ice-*.txt #.idea/ ]=]), } local extra = (lang and lang_block[lang]) or "" return base .. extra end return M