mirror of https://github.com/folke/lazy.nvim.git
fix: first line of file
This commit is contained in:
parent
7f4743ac30
commit
c749404423
|
@ -134,8 +134,9 @@ end
|
|||
function M.head(file)
|
||||
local f = io.open(file)
|
||||
if f then
|
||||
local ret = f:read()
|
||||
f:close()
|
||||
return f:read()
|
||||
return ret
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue