File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ local rest = {}
33local curl = require (' plenary.curl' )
44local path = require (' plenary.path' )
55local 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
99rest .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
You can’t perform that action at this time.
0 commit comments