aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/image.lua
blob: edd938f88a94b91a1b6ee3704e4210094b5469e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
return {
  "3rd/image.nvim",
  opts = {
    backend = "sixel",
    max_width = nil,
    max_height = nil,
    max_width_window_percentage = nil,
    max_height_window_percentage = nil,
    window_overlap_clear_enabled = true,
    window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "notify", "noice", "lazy", "mason", "oil_list", "TelescopePrompt" },
    editor_only_render_when_focused = true,
    tmux_show_only_in_active_window = true,
    render = {
      debounce_ms = 10,
      show_label = true,
      label_align = "center",
      label_format = "[image.nvim] %s",
      foreground_color = true,
      background_color = true,
    },
    integrations = {},
  },
}