Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Zsh autocompletion foreground is the same as the terminal's background #6

Open
riazufila opened this issue Sep 3, 2021 · 0 comments

Comments

@riazufila
Copy link

Im using Neovim with toggleterm plugin. So, when I spawn a terminal using the said plugin, my Zsh shell will be ready to use like a usual terminal. There is a feature in Zsh where commands will appear to autocomplete without having to type the command fully as long as it has been typed before and is in the history file. So, say I've typed npm start, then I typed np, then a sort of highlight will appear at the shell and I can just press Right button to autocomplete np to npm start (image for visual aid). This is also the case in the terminal created from toggleterm plugin as the shell is the same, which is Zsh. The autocomplete works as it should. However, in the spawned terminal from toggleterm, the color foreground for that said "autocomplete highlight" appears to be colored "black", which is the same as the background making it impossible to see (Zsh autocomplete highlight in toggleterm neovim). However, when I do a V to the line then I can see that the completion highlight is indeed there (autocomplete highlight can be seen with VISUAL LINE). What can I do to make it appear even withou VISUAL LINE? What highlight group am I supposed to change? Is changing highlight group the right approach?

@riazufila riazufila changed the title Zsh autocompletion foreground is the same as the terminal Zsh autocompletion foreground is the same as the terminal's background Sep 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant