Skip to content

Commit cee2cbf

Browse files
Format source code
1 parent 2f10aaf commit cee2cbf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lua/rest-nvim/init.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local rest = {}
33
local curl = require('plenary.curl')
44
local path = require('plenary.path')
55
local utils = require('rest-nvim.utils')
6-
local log = require('plenary.log').new { plugin = 'rest.nvim', level = 'warn' }
6+
local log = require('plenary.log').new({ plugin = 'rest.nvim', level = 'warn' })
77

88
-- setup is needed for enabling syntax highlighting for http files
99
rest.setup = function()
@@ -181,7 +181,10 @@ local function get_headers(bufnr, query_line)
181181
break
182182
end
183183
if not line_content:find(':') then
184-
log.warn("Missing Key/Value pair in message header. Ignoring line: ", line_content)
184+
log.warn(
185+
'Missing Key/Value pair in message header. Ignoring line: ',
186+
line_content
187+
)
185188
goto continue
186189
end
187190

0 commit comments

Comments
 (0)