Skip to content

Commit d5a0b5e

Browse files
committed
fix(init): squashed some luacheck errors
1 parent 3b84096 commit d5a0b5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/rest-nvim/init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ local function get_importfile(bufnr, start_line, stop_line)
8181
go_to_line(bufnr, oldpos[2])
8282

8383
if import_line > 0 then
84-
local fileimport_string = ''
85-
local fileimport_line = {}
84+
local fileimport_string
85+
local fileimport_line
8686
fileimport_line = vim.api.nvim_buf_get_lines(
8787
bufnr,
8888
import_line - 1,
@@ -121,7 +121,7 @@ local function get_body(bufnr, start_line, stop_line)
121121
return importfile
122122
end
123123

124-
local lines = {}
124+
local lines
125125
local body = ''
126126
-- nvim_buf_get_lines is zero based and end-exclusive
127127
-- but start_line and stop_line are one-based and inclusive

0 commit comments

Comments
 (0)