add podman systemd files for database

This commit is contained in:
Alexander Navarro 2025-04-15 11:43:00 -04:00
parent f181cd388a
commit 742388c3ca
6 changed files with 44 additions and 2 deletions

View file

@ -116,7 +116,7 @@ vim.filetype.add({
mdx = "mdx",
log = "log",
conf = "conf",
env = "dotenv",
env = "dotenv"
},
-- Detect and apply filetypes based on the entire filename
filename = {
@ -131,5 +131,14 @@ vim.filetype.add({
[".*%.blade%.php"] = "blade",
[".*%.hurl.*"] = "hurl",
[".*/hypr/.*%.conf"] = "hyprlang",
['.*/systemd/.*%.(%a+)'] = function(path, bufnr, ext)
vim.print(ext)
local allowed = { "container", "volume", "network", "build", "pod", "kube" }
for _, v in ipairs(allowed) do
if v == ext then
return "ini"
end
end
end,
},
})