mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
perf(ansible): load on ft=yaml and run should only be mapped on ft=yaml.ansible
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user