huggingface / huggingface/llm.nvim

Inconsistent Virtual Text Placement with Tabs

Open
#107 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Lua
Stars
1.2k
Forks
58
Avg merge
30m
Merged PRs (30d)
1

Description

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](https://github.com/user-attachments/assets/ce6f6540-2151-4340-ab45-26f2de2bfc24)

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.