diff --git a/dots/.config/nvim/lua/plugins/configs/autolist.lua b/dots/.config/nvim/lua/plugins/configs/autolist.lua index 2fbe79e3..5f35f588 100644 --- a/dots/.config/nvim/lua/plugins/configs/autolist.lua +++ b/dots/.config/nvim/lua/plugins/configs/autolist.lua @@ -8,9 +8,16 @@ return { "tex", "plaintex", "norg", + "yaml" }, config = function() - require("autolist").setup({}) + require("autolist").setup({ + lists = { + yaml = { + "[-]" + } + } + }) local autolist_group = vim.api.nvim_create_augroup("Autolist", {}) vim.api.nvim_create_autocmd("filetype", { group = autolist_group, @@ -20,6 +27,7 @@ return { "tex", "plaintex", "norg", + "yaml", }, callback = function() if pcall(require, "autolist") then