add: prisma default config

This commit is contained in:
asep.komarudin 2024-06-30 18:02:32 +07:00
parent 14284a94ca
commit ef97b8b1bc
5 changed files with 35 additions and 12 deletions

View file

@ -71,7 +71,7 @@ if disable then
}
end
local listtest = {}
-- local listtest = {}
-- finally add the formatter to it's compatible filetype(s)
for _, ft in pairs(pkg.spec.languages) do
local ftl = string.lower(ft)
@ -85,9 +85,9 @@ if disable then
pkg.spec.name = name_map[pkg.spec.name]
end
if substring(pkg.spec.name, "ktfmt") then
table.insert(listtest, ftl)
end
-- if substring(pkg.spec.name, "ktfmt") then
-- table.insert(listtest, ftl)
-- end
-- add new mapping language
for key, value in pairs(addnew) do
@ -103,7 +103,7 @@ if disable then
end
end
end
print(table.concat(listtest, ","))
-- print(table.concat(listtest, ","))
end
end
end