Skip to content

[Enhancement] Add direct access to win_col_off #186

@thjbdvlt

Description

@thjbdvlt

I don't know if it's related to go-client or neovim, so I'm sorry if it's off-topic.

I'm trying to add support for proportional fonts to goneovim, and I feel like it would be great if the GUI client could have a direct access to the function win_col_off, which returns the actual width of the gutter containing sign columns and line numbers.
As now, goneovim uses the highlights groups names of the cells to identify when the gutter stops, but having this information directly would make easier to draw separately the gutter and the buffer.
For proportional fonts, it would make easier to align the content of the buffer.

(It's related to #17229, but I think that having to call the getwininfo function to get its textoff fields is a bit complicated, when a direct call to win_col_off using the window id could be easily added..?)

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