diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-11-02 06:36:39 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-11-02 07:03:44 +0800 |
| commit | f0571a18559ef043a479e31ce4efa8c8baed9526 (patch) | |
| tree | 2e049d300387a2d9709e7720b044cd7d004470ea /runtime/lua/vim/_stringbuffer.lua | |
| parent | c38365fd8e874dcf5902a70fd6920eb75b8ef16e (diff) | |
| download | rneovim-f0571a18559ef043a479e31ce4efa8c8baed9526.tar.gz rneovim-f0571a18559ef043a479e31ce4efa8c8baed9526.tar.bz2 rneovim-f0571a18559ef043a479e31ce4efa8c8baed9526.zip | |
vim-patch:fe71c56: runtime(netrw): NetrwChgPerm for files not in cwd
Problem: Changing permissions fail when using `gp` if the file under
the cursor is not in the current working directory.
Solution: Use the already available `a:curdir` argument and prepend it
to the `<cfile>`, so that the path of the file is correct.
This commit also refactors some leftover `netrw#ErrorMsg` to
`netrw#msg#Notify` (the main refactoring was done in
f5e3b5c04f85b0f69cd2aae81e4938cfb191a790).
closes: vim/vim#18674
https://github.com/vim/vim/commit/fe71c56d8fb6b5a51d1f7f6d54d658ef17a98713
Co-authored-by: Mohammad Reza Karimi <m.r.karimi.j@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions