feat: update buffer after chmodx

remotes/origin/HEAD
saccarosium 2023-03-14 16:31:46 +01:00
parent 5f086e329b
commit 2c4a7409c6
1 changed files with 1 additions and 0 deletions

View File

@ -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.