add ansible lsp configuration

This commit is contained in:
SALVI Jérémie
2024-07-19 10:08:28 +02:00
parent 6ecfa47e4c
commit 5764e98ae6
4 changed files with 60 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ vim.keymap.set({ "n", "v" }, "<leader>lf", function()
end, { desc = "Format" })
lint.linters_by_ft = {
lua = { "shellcheck" },
sh = { "shellcheck" },
}
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {