mistweaverco / kulala.nvim

A minimal 🤏 HTTP-client 🐼 interface 🖥️ for Neovim ❤️.
https://kulala.mwco.app
MIT License
649 stars 30 forks source link

[Feature] Virtual text display variable #209

Open iamxiaojianzheng opened 2 months ago

iamxiaojianzheng commented 2 months ago

@gorillamoe I wish add this feature. What do you think?

I've done the basic implementation locally

image

gorillamoe commented 2 months ago

Ye, looks very nice, but make it optional and opt-in, not opt-out, please.

iamxiaojianzheng commented 2 months ago

Ye, looks very nice, but make it optional and opt-in, not opt-out, please.

I added the toggle method

Grueslayer commented 1 month ago

Would like to have an option for showing this as some “hover text” for the variable where the cursor is currently on only.

Otherwise all variables for complete file has to be calculated all the time and personally I dislike the code widening.

Also the text needs to be limited, bearer tokens can be multiple 1000 chars long.