mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 21:54:03 +02:00
Format with stylua
This commit is contained in:
parent
5361676a18
commit
78296bfabf
2 changed files with 18 additions and 4 deletions
|
@ -375,11 +375,25 @@ function M.scratch_mkdir(scratch_rel)
|
|||
os.execute(('mkdir -p "%s/%s"'):format(scratchdir_path, scratch_rel))
|
||||
end
|
||||
function M.scratch_mv(scratch_from, scratch_to)
|
||||
os.execute(('mv "%s/%s" "%s/%s"'):format(scratchdir_path, scratch_from, scratchdir_path, scratch_to))
|
||||
os.execute(
|
||||
('mv "%s/%s" "%s/%s"'):format(
|
||||
scratchdir_path,
|
||||
scratch_from,
|
||||
scratchdir_path,
|
||||
scratch_to
|
||||
)
|
||||
)
|
||||
end
|
||||
-- mv -T
|
||||
function M.scratch_mv_T(scratch_from, scratch_to)
|
||||
os.execute(('mv -T "%s/%s" "%s/%s"'):format(scratchdir_path, scratch_from, scratchdir_path, scratch_to))
|
||||
os.execute(
|
||||
('mv -T "%s/%s" "%s/%s"'):format(
|
||||
scratchdir_path,
|
||||
scratch_from,
|
||||
scratchdir_path,
|
||||
scratch_to
|
||||
)
|
||||
)
|
||||
end
|
||||
function M.scratch_touch(scratch_rel)
|
||||
os.execute(('touch "%s/%s"'):format(scratchdir_path, scratch_rel))
|
||||
|
|
|
@ -261,8 +261,8 @@ describe("fs_events", function()
|
|||
["a/a"] = 1,
|
||||
["a/b"] = 1,
|
||||
["a/c/e"] = 1,
|
||||
["a/d/e"] = 1
|
||||
}
|
||||
["a/d/e"] = 1,
|
||||
},
|
||||
}, exec_lua([[return {changed, seen}]]))
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue