feat: update buffer after chmodx
parent
5f086e329b
commit
2c4a7409c6
|
|
@ -165,6 +165,7 @@ function M.chmodx()
|
||||||
perm = perm:gsub("r(.)%-", "r%1x") -- add x to every group that has r
|
perm = perm:gsub("r(.)%-", "r%1x") -- add x to every group that has r
|
||||||
fn.setfperm(filename, perm)
|
fn.setfperm(filename, perm)
|
||||||
vim.notify("Execution Permission granted.")
|
vim.notify("Execution Permission granted.")
|
||||||
|
cmd.edit()
|
||||||
end
|
end
|
||||||
|
|
||||||
---Trash the current File.
|
---Trash the current File.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue