Thanks to visit codestin.com
Credit goes to github.com

Skip to content

foldtext gets truncated when "relativenumber" is set. #519

Closed
@sscherfke

Description

@sscherfke

When set relativenumber is set and I fold a, e.g., a function, instead of

def fn()------42---

I get

def fn()----------4

as foldtext for foldet blocks.

Everything works fine if I use set number instead of relative numbers. I guess you only check for number but not relativenumber when calculating the window width?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions