remotes/origin/HEAD
pseudometa 2022-12-19 13:31:10 +01:00
parent 9b2ffbcaef
commit 9dc1ab2cb8
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ local function fileOp(op)
end
-- create folders if necessary
-- TODO upon release of neovim 0.9, use `:write ++p` https://twitter.com/Neovim/status/1589469857388834816?s=20&t=KNpSU7IESQAAWQwG04OjTQ
local hasPath = newName:find("/")
if hasPath then
local newFolder = newName:gsub("/.-$", "")