We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2826f69 commit 948cf14Copy full SHA for 948cf14
lua/rest-nvim/curl/init.lua
@@ -101,7 +101,7 @@ local function create_callback(method, url)
101
-- Only open a new split if the buffer is not loaded into the current window
102
if vim.fn.bufwinnr(res_bufnr) == -1 then
103
local cmd_split = [[vert sb]]
104
- if config.result_split_horizontal then
+ if config.get("result_split_horizontal") then
105
cmd_split = [[sb]]
106
end
107
vim.cmd(cmd_split .. res_bufnr)
0 commit comments