Skip to content

statusline: set g:actual_curbuf also with set stl=%!MyStatuslines() #3299

@blueyed

Description

@blueyed

Currently g:actual_curbuf is only available in a statusline expression, i.e. '%{neomake#statusline#get()}', but not when used inside of a function that returns the statusline ('set statusline=%!MyStatusLine()', where MyStatusLine uses neomake#statusline#get()`).

I think it would be useful to have it set also for %!… already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions