diff options
author | HiPhish <hiphish@Aleksandars-iMac.local> | 2016-09-04 12:28:01 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-09-04 08:01:31 -0400 |
commit | cd321b7d0fb161b77cd7b25da7f9a4721cfb0110 (patch) | |
tree | 921fd577a4c5738301d5a5c709c8d22b65fb8863 /src/nvim/api/vim.c | |
parent | 73b8424fad108d1ae5981f7fad32f12df35fef2e (diff) | |
download | rneovim-cd321b7d0fb161b77cd7b25da7f9a4721cfb0110.tar.gz rneovim-cd321b7d0fb161b77cd7b25da7f9a4721cfb0110.tar.bz2 rneovim-cd321b7d0fb161b77cd7b25da7f9a4721cfb0110.zip |
getcwd(): Return empty string if CWD is invalid. #5292
Closes #5291
Restores behaviour identical to Vim. If the user calls the VimScript
function 'getcwd()' and the working directory cannot be found (for
example because the directory has been deleted since the last time it
was used) an empty string needs to be returned instead of throwing an
error.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions