Skip to content

Commit

Permalink
chore: update options
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonHarnes committed Apr 1, 2024
1 parent 9926339 commit 87cc430
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
7 changes: 1 addition & 6 deletions lua/img-clip/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
},

Expand All @@ -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 = {
Expand Down
5 changes: 1 addition & 4 deletions vimdoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 87cc430

Please sign in to comment.