Skip to content

Commit

Permalink
fix(ansible): ansiblels not loading, keymap desc. (#2739)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mickalpine committed May 13, 2024
1 parent c54eeb5 commit abb1ff0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/lazyvim/plugins/extras/lang/ansible.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down

0 comments on commit abb1ff0

Please sign in to comment.