AutoYADM commit: 2025-02-04 18:25:06
This commit is contained in:
parent
fb105ac94e
commit
dfa04e4b38
2 changed files with 0 additions and 33 deletions
|
@ -1,28 +0,0 @@
|
||||||
local function resolver(document_path, image_path, fallback)
|
|
||||||
local vault_dir = "/home/fic/second-brain"
|
|
||||||
-- Format path for Obsidian vault
|
|
||||||
if document_path:find(vault_dir, 1, true) then
|
|
||||||
return vault_dir .. "/" .. image_path
|
|
||||||
end
|
|
||||||
-- fallback to default
|
|
||||||
return fallback(document_path, image_path)
|
|
||||||
end
|
|
||||||
|
|
||||||
return {
|
|
||||||
{
|
|
||||||
"3rd/image.nvim",
|
|
||||||
enabled = false,
|
|
||||||
opts = {
|
|
||||||
tmux_show_only_in_active_window = true,
|
|
||||||
window_overlap_clear_enabled = true,
|
|
||||||
integrations = {
|
|
||||||
markdown = {
|
|
||||||
enabled = true,
|
|
||||||
clear_in_insert_mode = true,
|
|
||||||
only_render_image_at_cursor = true,
|
|
||||||
resolve_image_path = resolver,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
return {
|
|
||||||
"christoomey/vim-tmux-navigator",
|
|
||||||
enabled = false,
|
|
||||||
lazy = false,
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue