You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 typednp
, then a sort of highlight will appear at the shell and I can just press Right button to autocompletenp
tonpm 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 aV
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?The text was updated successfully, but these errors were encountered: