From 87cc4303195adca79e1ac6f2a158d4c2e3a5f219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Harnes?= Date: Mon, 1 Apr 2024 13:15:44 +0200 Subject: [PATCH] chore: update options --- README.md | 5 +---- lua/img-clip/config.lua | 7 +------ vimdoc.md | 5 +---- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index d7d61d2..3157b21 100644 --- a/README.md +++ b/README.md @@ -111,10 +111,7 @@ The plugin comes with the following defaults: markdown = { url_encode_path = true, template = "![$CURSOR]($FILE_PATH)", - - drag_and_drop = { - download_images = false, - }, + download_images = false, }, html = { diff --git a/lua/img-clip/config.lua b/lua/img-clip/config.lua index a06d5ca..c1d801e 100644 --- a/lua/img-clip/config.lua +++ b/lua/img-clip/config.lua @@ -30,8 +30,6 @@ local defaults = { drag_and_drop = { enabled = true, -- enable drag and drop mode insert_mode = false, -- enable drag and drop in insert mode - copy_images = false, -- copy images instead of using the original file - download_images = true, -- download images and save them to dir_path instead of using the URL }, }, @@ -44,10 +42,7 @@ local defaults = { markdown = { url_encode_path = true, template = "![$CURSOR]($FILE_PATH)", - - drag_and_drop = { - download_images = false, - }, + download_images = false, }, html = { diff --git a/vimdoc.md b/vimdoc.md index ffed5aa..c525455 100644 --- a/vimdoc.md +++ b/vimdoc.md @@ -102,10 +102,7 @@ The plugin comes with the following defaults: markdown = { url_encode_path = true, template = "![$CURSOR]($FILE_PATH)", - - drag_and_drop = { - download_images = false, - }, + download_images = false, }, html = {