jackMort / jackMort/ChatGPT.nvim

Customize title hl group background

Open
#243 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

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.

Telescope Theme

![image](https://github.com/jackMort/ChatGPT.nvim/assets/56745535/5d22c886-adb2-4a40-9ea6-542ba251fed9)

ChatGPT Theme

![image](https://github.com/jackMort/ChatGPT.nvim/assets/56745535/e7f65a07-a53c-44a6-bad6-7764855df2b0)

Current Configuration

```lua
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

No contributing guide indexed for this repository

Research direction

The issue names no implementation files or tests. Start by tracing the plugin's window and title highlight configuration, using the supplied popup_window, system_window, popup_input, and settings_window options as the configuration surface. Done means the ChatGPT, Prompt, System, and other titles can use custom highlight groups independently and the behavior is verified with a matching theme.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.