jackMort/ChatGPT.nvim

Customize title hl group background

Open

#243 geöffnet am 9. Juli 2023

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Lua (323 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (4.005 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Is there any way to set custom highlight groups for the different titles ("ChatGPT", "Prompt", "System", etc.)? I'm trying to configure the windows to match my telescope theme exactly, and this is the last hurdle in the way. Thanks.

image

image

opts = {
  popup_window = {
    border = {
      highlight = "TelescopePreviewBorder",
    },
    win_options = {
      winhighlight = "Normal:TelescopePreviewNormal,FloatBorder:FloatBorder",
    },
  },
  system_window = {
    border = {
      highlight = "TelescopePromptBorder",
    },
    win_options = {
      winhighlight = "Normal:TelescopePromptNormal,FloatBorder:FloatBorder",
    },
  },
  popup_input = {
    border = {
      highlight = "TelescopePromptBorder",
    },
    win_options = {
      winhighlight = "Normal:TelescopePromptNormal,FloatBorder:FloatBorder",
    },
  },
  settings_window = {
    win_options = {
      winhighlight = "Normal:TelescopePromptNormal,FloatBorder:FloatBorder",
    },
  },
},

Contributor Guide