Its my config settings down here, but its not even effecting to the plugin. for example file extension type, saving directory name, template file name etc, or am i doing it wrong? please correct me if i am. thanks
require('img-clip').setup({
default = {
dir_path = "imagesss", ---@type string | fun(): string
use_absolute_path = false, -- Avoid absolute paths for portability across systems
relative_to_current_file = true, -- Save images relative to the current file instead of the working directory
-- dir_path = function() return vim.fn.expand("%:t:r") .. "-img" end, -- Create a directory based on the filename
prompt_for_file_name = false, -- Automatically name images using a timestamp
file_name = "%Y-%m-%d-at-%H-%M-%S", -- Format for autogenerated filenames
extension = "avif", -- Save images as AVIF for better compression
process_cmd = "convert - -quality 75 avif:-", -- Compress images to 75% quality in AVIF format
},
filetypes = {
markdown = {
url_encode_path = true, -- Encode special characters in Markdown image paths
template = "![$FILE_NAME]($FILE_PATH)" -- Markdown template for inserting images
},
},
})
Its my config settings down here, but its not even effecting to the plugin. for example file extension type, saving directory name, template file name etc, or am i doing it wrong? please correct me if i am. thanks