Skip to content

Inconsistent Virtual Text Placement with Tabs #107

@Nimrod0901

Description

@Nimrod0901

Hi,
I'm encountering an issue with llm.nvim where virtual text is not correctly aligned when lines start with a tab character. Specifically, virtual text intended to be aligned with the cursor position defaults to column 1 when the line begins with a tab, whereas it aligns correctly when the line starts with spaces.

image

I digged into the source code and found the col came from llm-ls, I'm not sure if it's a bug of llm.nvim.

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