diff options
author | Joe Hermaszewski <git@monoid.al> | 2019-11-18 15:38:27 +0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-11-17 23:38:27 -0800 |
commit | 1ff5b60cb96aea3b3f6ef9e2792c5797dfda72dc (patch) | |
tree | b94a02e989c557c9d93c7bbfb26bcea00fd02671 /src/nvim/memline.c | |
parent | b1c4a8191ef65790f3f039a450cffe064499cc9b (diff) | |
download | rneovim-1ff5b60cb96aea3b3f6ef9e2792c5797dfda72dc.tar.gz rneovim-1ff5b60cb96aea3b3f6ef9e2792c5797dfda72dc.tar.bz2 rneovim-1ff5b60cb96aea3b3f6ef9e2792c5797dfda72dc.zip |
vim-patch:8.1.0251: support full paths for 'backupdir' #11269
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes vim/vim#179)
https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 05cc62bb33..2824d57f49 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -1437,7 +1437,7 @@ recover_names ( * Append the full path to name with path separators made into percent * signs, to dir. An unnamed buffer is handled as "" (<currentdir>/"") */ -static char *make_percent_swname(const char *dir, char *name) +char *make_percent_swname(const char *dir, char *name) FUNC_ATTR_NONNULL_ARG(1) { char *d = NULL; |