Skip to content

Commit 3ee124d

Browse files
author
Jose Luis Lavado
committed
fix: find next request line when the verb is 'DELETE'
1 parent 0fdb69f commit 3ee124d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rest-nvim/request/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ local function end_request(bufnr, linenumber)
240240
end
241241
utils.move_cursor(bufnr, linenumber)
242242

243-
local next = vim.fn.search("^GET\\|^POST\\|^PUT\\|^PATCH\\|^DELETE\\^###\\", "cn",
243+
local next = vim.fn.search("^GET\\|^POST\\|^PUT\\|^PATCH\\|^DELETE\\|^###\\", "cn",
244244
vim.fn.line("$"))
245245

246246
-- restore cursor position

0 commit comments

Comments
 (0)