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

Add support empty prompt (for issue #14) #17

Merged
merged 1 commit into from
Nov 5, 2018
Merged

Add support empty prompt (for issue #14) #17

merged 1 commit into from
Nov 5, 2018

Conversation

piutranq
Copy link
Contributor

@piutranq piutranq commented Nov 3, 2018

  • When prefix is off, empty prompt is shown and it can be configurable.

  • List of new configures:

    @prefix_highlight_prompt
    - set prompt when prefix is off. default is '' (empty char)

    @prefix_highlight_empty_attr
    - set attribute of empty prompt. default is 'fg=default,bg=default'

    @prefix_highlight_empty_has_affixes
    - set empty prompt can be attached optional affixes. default is 'off'

  • Descriptions and examples are written on README.md

* When prefix is off, empty prompt is shown and it can be configurable.

* List of new configures:

    @prefix_highlight_prompt
        - set prompt when prefix is off. default is '' (empty char)

    @prefix_highlight_empty_attr
        - set attribute of empty prompt. default is 'fg=default,bg=default'

    @prefix_highlight_empty_has_affixes
        - set empty prompt can be attached optional affixes. default is 'off'

* Descriptions and examples are written on README.md
Copy link
Collaborator

@erickpintor erickpintor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a nice feature! Thank you @piutranq!

@erickpintor erickpintor merged commit 8880f9c into tmux-plugins:master Nov 5, 2018
sergiopatino added a commit to sergiopatino/tmux-prefix-highlight that referenced this pull request Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants