andersevenrud / andersevenrud/nvim_context_vt

Possible to show virtual text no matter where the cursor is?

Open
#75 3 comments 1 reaction 0 assignees View on GitHub
enhancement feature request help wanted
Dominant language
Lua
Stars
415
Forks
19
PR merge metrics
No merged PRs in 30d

Description

As can be seen in the gif in the readme, the virtual text is only visible if the cursor is inside a scope block.

Is there an option to show it no matter where the cursor is?

Current behavior:
```
A {

} --> A {

🡇

A {

}

```

Desired behavior:
```
A {

} --> A {

🡇

A {

} --> A {

```

Contributor guide

Open the contributing guide

Research direction

Start with the README GIF and the current and desired examples; reproduce the behavior with the cursor inside and outside a scope block. Trace the plugin's virtual-text visibility behavior and verify the change by confirming the text remains visible at both cursor positions.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.