Skip to content

Conversation

guruor
Copy link
Contributor

@guruor guruor commented Feb 25, 2023

Exposing a public function to access script variable s:active. This will help users determine if the current state of statusline.

A simple use case will be setting the last_status = 3 when statusline is not embedded with tmux.

… will

help users determine if the current state of statusline.
A simple use case will be setting the `last_status = 3` when statusline
is not embedded with tmux.
Copy link
Owner

@vimpostor vimpostor left a comment

Choose a reason for hiding this comment

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

This might indeed be useful, so I'll merge it. Note though that depending on your usecase, it might have been more vim-idiomatic to provide User autocommands (see :h User).

@vimpostor vimpostor merged commit e9e5928 into vimpostor:master Feb 25, 2023
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