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
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

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,
},