feat(nvim): enable autolist in yaml.ansible

This commit is contained in:
Price Hiller 2023-08-19 09:10:32 -05:00
parent 90cda56495
commit 304b27a0b6
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -9,6 +9,7 @@ return {
"plaintex", "plaintex",
"norg", "norg",
"yaml", "yaml",
"yaml.ansible"
}, },
config = function() config = function()
require("autolist").setup({ require("autolist").setup({
@ -16,6 +17,9 @@ return {
yaml = { yaml = {
"[-]", "[-]",
}, },
["yaml.ansible"] = {
"[-]"
}
}, },
}) })
local autolist_group = vim.api.nvim_create_augroup("Autolist", {}) local autolist_group = vim.api.nvim_create_augroup("Autolist", {})
@ -28,6 +32,7 @@ return {
"plaintex", "plaintex",
"norg", "norg",
"yaml", "yaml",
"yaml.ansible"
}, },
callback = function() callback = function()
if pcall(require, "autolist") then if pcall(require, "autolist") then