diff --git a/lua/plugins/quarto.lua b/lua/plugins/quarto.lua index b270770..d5ee201 100644 --- a/lua/plugins/quarto.lua +++ b/lua/plugins/quarto.lua @@ -710,18 +710,20 @@ return { "HakonHarnes/img-clip.nvim", event = "BufEnter", opts = { - markdown = { - url_encode_path = true, - template = "![$CURSOR]($FILE_PATH)", - drag_and_drop = { - download_images = false, + filetypes = { + markdown = { + url_encode_path = true, + template = "![$CURSOR]($FILE_PATH)", + drag_and_drop = { + download_images = false, + }, }, - }, - quarto = { - url_encode_path = true, - template = "![$CURSOR]($FILE_PATH)", - drag_and_drop = { - download_images = false, + quarto = { + url_encode_path = true, + template = "![$CURSOR]($FILE_PATH)", + drag_and_drop = { + download_images = false, + }, }, }, },