style: ran linting
parent
bbf5dcc99b
commit
4fb59d5d60
|
|
@ -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 `"`.
|
||||
- `.chmodx` or `:Chmodx`: Makes current file executable. Equivalent to `chmod +x`.
|
||||
|
||||
### Disable Ex-commands
|
||||
### Disable Ex-Commands
|
||||
Put this in your configuration file:
|
||||
|
||||
```lua
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ function M.chmodx()
|
|||
perm = perm:gsub("r(.)%-", "r%1x") -- add x to every group that has r
|
||||
fn.setfperm(filename, perm)
|
||||
vim.notify("Execution Permission granted.")
|
||||
cmd.edit()
|
||||
cmd.edit()
|
||||
end
|
||||
|
||||
---Trash the current File.
|
||||
|
|
|
|||
Loading…
Reference in New Issue