Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Cursor in Noice Commandline #67

Closed
quackzar opened this issue Sep 15, 2023 · 5 comments
Closed

No Cursor in Noice Commandline #67

quackzar opened this issue Sep 15, 2023 · 5 comments
Labels
wontfix This will not be worked on

Comments

@quackzar
Copy link

In the Noice the cursor in the commandline is invisible, since the Cursor highlight in melanage is not set and NoiceCursor links to it.
This can be fixed by either setting the Cursor or NoiceCursor to something, but is there is reason Cursor has been left unset?

Current output:
image

With NoiseCursor = {bg = a.fg, fg = a.bg}:
image

@savq
Copy link
Owner

savq commented Sep 15, 2023

the Cursor highlight in melanage is not set

Neovim sets Cursor by default. What do you get when you run :highlight Cursor ?

@quackzar
Copy link
Author

Currently just Cursor xxx guifg=bg guibg=fg, which is the same as if ran with -u NONE without any color scheme at all.

@savq
Copy link
Owner

savq commented Sep 16, 2023

I don't understand what the problem is here.

If NoiceCursor links to Cursor, and Cursor is set to the default, then the cursor should appear just like it does in the command line.

If noice does something different to render the cursor, then that's a problem there, not here.

@quackzar
Copy link
Author

quackzar commented Sep 17, 2023

Okay, so funnily enough if I set hi guifg=bg guibg=fg then noice's cursor appears correctly.

Doing a hi clear also wipes the noice cursor.
Most other color schemes seem to define Cursor so noice just links to that. The only two solutions I really see is either providing explicit setting Cursor or providing NoiceCursor highlight for compatibility.

@savq
Copy link
Owner

savq commented Sep 25, 2023

See folke/noice.nvim#596

@savq savq closed this as completed Sep 25, 2023
@savq savq added the wontfix This will not be worked on label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants