mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +00:00
perf(ansible): load on ft=yaml and run should only be mapped on ft=yaml.ansible
This commit is contained in:
parent
c2aa088300
commit
ebdcf1ba7e
1 changed files with 2 additions and 1 deletions
|
|
@ -19,13 +19,14 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"mfussenegger/nvim-ansible",
|
"mfussenegger/nvim-ansible",
|
||||||
ft = {},
|
ft = { "yaml" },
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>ta",
|
"<leader>ta",
|
||||||
function()
|
function()
|
||||||
require("ansible").run()
|
require("ansible").run()
|
||||||
end,
|
end,
|
||||||
|
ft = "yaml.ansible",
|
||||||
desc = "Ansible Run Playbook/Role",
|
desc = "Ansible Run Playbook/Role",
|
||||||
silent = true,
|
silent = true,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue