@@ -121,7 +121,7 @@ local function get_headers(bufnr, start_line, end_line)
121121 for line_number = start_line + 1 , end_line do
122122 local line_content = vim .fn .getbufline (bufnr , line_number )[1 ]
123123
124- -- message header and message body are seperated by CRLF (see RFC 2616)
124+ -- message header and message body are separated by CRLF (see RFC 2616)
125125 -- for our purpose also the next request line will stop the header search
126126 if is_request_line (line_content ) or line_content == " " then
127127 headers_end = line_number
185185-- start_request will find the request line (e.g. POST http://localhost:8081/foo)
186186-- of the current request and returns the linenumber of this request line.
187187-- The current request is defined as the next request line above the cursor
188- -- @param bufnr The buffer nummer of the .http-file
188+ -- @param bufnr The buffer number of the .http-file
189189-- @param linenumber (number) From which line to start looking
190190local function start_request (bufnr , linenumber )
191191 log .debug (" Searching pattern starting from " .. linenumber )
202202
203203-- end_request will find the next request line (e.g. POST http://localhost:8081/foo)
204204-- and returns the linenumber before this request line or the end of the buffer
205- -- @param bufnr The buffer nummer of the .http-file
205+ -- @param bufnr The buffer number of the .http-file
206206local function end_request (bufnr , linenumber )
207207 -- store old cursor position
208208 local oldlinenumber = linenumber
0 commit comments