Skip to content

Tentative Vim support for virtualtext #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AndrewRadev
Copy link
Contributor

Upstream Vim got some initial support for virtual text attached to text props: https://vimhelp.org/textprop.txt.html#virtual-text. It's likely there's bugs and edge cases, and I can't see a way to attach padding, but it seems functional, at least:

2022-08-08-220730_1920x1080_scrot

This PR is based on top of #10 since that fixes an issue for me.

if self.stdoutbuf[0] == ''
echomsg "D'oh! Got no output for crate " . self.crate
return
endif
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically unnecessary, but I found it useful while debugging some issues -- and it might be a more useful error than "couldn't parse json"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant