Skip to content

Commit 948cf14

Browse files
committed
fix: result_split_horizontal config getter
1 parent 2826f69 commit 948cf14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rest-nvim/curl/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ local function create_callback(method, url)
101101
-- Only open a new split if the buffer is not loaded into the current window
102102
if vim.fn.bufwinnr(res_bufnr) == -1 then
103103
local cmd_split = [[vert sb]]
104-
if config.result_split_horizontal then
104+
if config.get("result_split_horizontal") then
105105
cmd_split = [[sb]]
106106
end
107107
vim.cmd(cmd_split .. res_bufnr)

0 commit comments

Comments
 (0)