Compare commits
No commits in common. "c5f304380eb546ba748e2d178ceef40d8cd4ef9b" and "d12ec38016d67af83f793b7a6d28d2d77599a7ae" have entirely different histories.
c5f304380e
...
d12ec38016
@ -123,7 +123,7 @@ function ed.open(buffer)
|
||||
end
|
||||
if type(buffer) ~= "table" then buffer = ed.newBuffer() end
|
||||
buffer[1] = buffer[1] or ""
|
||||
buffer.path = buffer.path or "/"..((bpath:sub(1,1) == "/" and table.concat(fs.segments(path),"/")) or table.concat(fs.segments(os.getenv("PWD").."/"..bpath),"/"))
|
||||
buffer.path = buffer.path or bpath
|
||||
return buffer
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user