perf(ansible): load on ft=yaml and run should only be mapped on ft=yaml.ansible

This commit is contained in:
Folke Lemaitre
2025-10-12 14:26:05 +02:00
parent c2aa088300
commit ebdcf1ba7e

View File

@@ -19,13 +19,14 @@ return {
},
{
"mfussenegger/nvim-ansible",
ft = {},
ft = { "yaml" },
keys = {
{
"<leader>ta",
function()
require("ansible").run()
end,
ft = "yaml.ansible",
desc = "Ansible Run Playbook/Role",
silent = true,
},