Skip to content
This repository was 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

@riazufila

Description

@riazufila

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions