refactor: nvim

This commit is contained in:
2026-03-19 02:21:56 +03:00
parent a89e680872
commit e8163c8b9d
4 changed files with 87 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
return {
"3rd/image.nvim",
-- event = 'BufEnter',
event = 'BufEnter',
build = false, -- so that it doesn't build the rock https://github.com/3rd/image.nvim/issues/91#issuecomment-2453430239
config = function()
require("image").setup({
@@ -11,7 +11,7 @@ return {
enabled = true,
clear_in_insert_mode = true,
download_remote_images = true,
only_render_image_at_cursor = false,
only_render_image_at_cursor = true,
only_render_image_at_cursor_mode = "popup",
floating_windows = false, -- if true, images will be rendered in floating markdown windows
filetypes = { "markdown", "vimwiki" }, -- markdown extensions (ie. quarto) can go here