fix(ansible): ansiblels not loading, keymap desc. (#2739)

If lazy extras yaml is enabled, yamlls was being loaded not ansiblels.

Add ft = {} to nvim-ansible spec allows ft=yaml.ansible to be detected.

Re-mapped nvim-ansible plugin key to not conflict with neotest.

Added a description for the keymap.
This commit is contained in:
Jordan McAlpine 2024-05-13 02:21:33 -04:00 committed by GitHub
parent c54eeb5390
commit abb1ff0d60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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