style: ran linting

remotes/origin/HEAD
pseudometa 2023-03-17 11:30:51 +01:00
parent bbf5dcc99b
commit 4fb59d5d60
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ The following applies to all commands above:
- `.copyFilepath` or `:CopyFilepath`: Copy the absolute file path. When `clipboard="unnamed[plus]"` has been set, copies to the `+` register, otherwise to `"`. - `.copyFilepath` or `:CopyFilepath`: Copy the absolute file path. When `clipboard="unnamed[plus]"` has been set, copies to the `+` register, otherwise to `"`.
- `.chmodx` or `:Chmodx`: Makes current file executable. Equivalent to `chmod +x`. - `.chmodx` or `:Chmodx`: Makes current file executable. Equivalent to `chmod +x`.
### Disable Ex-commands ### Disable Ex-Commands
Put this in your configuration file: Put this in your configuration file:
```lua ```lua

View File

@ -165,7 +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() cmd.edit()
end end
---Trash the current File. ---Trash the current File.