We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d210a5 commit 5dc89bbCopy full SHA for 5dc89bb
lua/rest-nvim/commands.lua
@@ -48,6 +48,7 @@ local rest_command_tbl = {
48
vim.notify("Running request by name isn't supported yet", vim.log.levels.INFO)
49
return
50
end
51
+ -- TODO: open result window here (use `:horizontal`)
52
request.run()
53
end,
54
},
@@ -87,7 +88,7 @@ local rest_command_tbl = {
87
88
89
-- If the completion arguments have a whitespace then treat them as a table instead for easiness
90
if args:find(" ") then
- args = vim.split(args, " ")
91
+ args = vim.split(args, " ", { trimempty = true })
92
93
-- If the completion arguments is a table and `set` is the desired action then
94
-- return a list of files in the current working directory for completion
0 commit comments