From b2c88a88036d5df18e2021de1cf11b8ee12f2c84 Mon Sep 17 00:00:00 2001 From: Aiser Date: Wed, 15 Jan 2025 15:11:46 +0800 Subject: [PATCH] fix(avante-nvim): update config for `render-markdown` --- lua/astrocommunity/completion/avante-nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/completion/avante-nvim/init.lua b/lua/astrocommunity/completion/avante-nvim/init.lua index 04980597e..2cf844a5d 100644 --- a/lua/astrocommunity/completion/avante-nvim/init.lua +++ b/lua/astrocommunity/completion/avante-nvim/init.lua @@ -62,7 +62,7 @@ return { "MeanderingProgrammer/render-markdown.nvim", optional = true, opts = function(_, opts) - if not opts.file_types then opts.filetypes = { "markdown" } end + if not opts.file_types then opts.file_types = { "markdown" } end opts.file_types = require("astrocore").list_insert_unique(opts.file_types, { "Avante" }) end, },