PYTHON: Project setup fixed and working, just need to add providers

This commit is contained in:
2026-10-19 20:24:45 -04:00
parent e2864159a8
commit 0f542d56ef
8 changed files with 140 additions and 160 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
local M = {}
---@param opts table
M.template = function(opts)
---@param lang string
M.template = function(lang)
local base = [=[
.DS_Store
@@ -13,7 +13,7 @@ M.template = function(opts)
]=]
local lang_block = {
python = [=[
python = vim.trim([=[
__pycache__/
build/
dist/
@@ -21,10 +21,10 @@ dist/
env/
venv/
.pytest_cache/
]=],
]=]),
}
local extra = (opts and opts and lang_block[opts.lang]) or ""
local extra = (lang and lang_block[lang]) or ""
return base .. extra
end