Skip to content

Commit

Permalink
feat: Updated lua/hurl/http_utils.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Mar 14, 2024
1 parent b1c23b2 commit 936519d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/hurl/http_utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ local M = {}
-- @return string: The HTTP verb at the current cursor position.
M.find_http_verb = function()


--- Finds the HTTP verb at the current cursor position.
-- @return string: The HTTP verb at the current cursor position.

--- Find the closest HURL entry at the current cursor position.
M.find_hurl_entry_positions_in_buffer = function()
--- Find the closest HURL entry at the current cursor position.
--- Look for the closest `entry` node to the cursor position.
local current_node = ts.get_node()
while current_node and current_node:type() ~= 'entry' do
Expand Down

0 comments on commit 936519d

Please sign in to comment.