You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If run rest.nvim with horizontal split, :hor Rest open. And you set splitkeep to screen or topline, which will change the cursor position when necessary.
If your cursor changed, the request section may be wrong.
e.g. Suppose my cursor is on the line http://test2.com. And I set splitkeep to topline. After running :hor Rest open, the rest_nvim_result shows that I requested http://test1.com.
GET http://test1.com###GET http://test2.com
Expected behavior
Maybe we should request http://test1.com first and then open/split the rest_nvim_result panel.
Steps to reproduce
Set splitkeep to screen or topline, which will change your cursor position when horizontal split. Then run :hor Rest open
I won’t change the behavior of :Rest open because it doesn’t run any requests, but I can change :Rest run to report the request first and then open the UI.
Will this satisfy your need?
Prerequisites
Neovim Version
v0.10.1
Operating system/version
Linux
Actual behavior
If run rest.nvim with horizontal split,
:hor Rest open
. And you setsplitkeep
toscreen
ortopline
, which will change the cursor position when necessary.If your cursor changed, the request section may be wrong.
e.g. Suppose my cursor is on the line
http://test2.com
. And I setsplitkeep
totopline
. After running:hor Rest open
, therest_nvim_result
shows that I requestedhttp://test1.com
.Expected behavior
Maybe we should request
http://test1.com
first and then open/split therest_nvim_result
panel.Steps to reproduce
Set
splitkeep
toscreen
ortopline
, which will change your cursor position when horizontal split. Then run:hor Rest open
Other information
No response
Repro (
lazy.nvim
)The text was updated successfully, but these errors were encountered: