fix: lint with ansible-lint
This commit is contained in:
parent
24f2a2bb1e
commit
02e246fc46
3 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
require("lint").linters_by_ft = {
|
require("lint").linters_by_ft = {
|
||||||
yaml = { "yamllint", "ansible_lint" },
|
yaml = { "yamllint" },
|
||||||
|
ansible = { "ansible_lint" },
|
||||||
markdown = { "markdownlint" },
|
markdown = { "markdownlint" },
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
"mfussenegger/nvim-ansible",
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"sindrets/diffview.nvim",
|
"sindrets/diffview.nvim",
|
||||||
},
|
},
|
||||||
|
|
|
@ -24,7 +24,7 @@ return {
|
||||||
"bash-language-server",
|
"bash-language-server",
|
||||||
"shfmt",
|
"shfmt",
|
||||||
"shellcheck",
|
"shellcheck",
|
||||||
"ansible-language-server",
|
"ansible-language-server@1.2.1",
|
||||||
"ansible-lint",
|
"ansible-lint",
|
||||||
"yaml-language-server",
|
"yaml-language-server",
|
||||||
"yamllint",
|
"yamllint",
|
||||||
|
|
Loading…
Reference in a new issue