aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vimscript.c
diff options
context:
space:
mode:
authorSamuel (ThinLinc team) <samuel@cendio.se>2023-11-28 12:17:39 +0100
committerGitHub <noreply@github.com>2023-11-28 03:17:39 -0800
commitadb2258345409d08c42809da0212eeb792e70106 (patch)
tree6c13b8639f6a0ce586d88c9c4253d031b761a88a /src/nvim/api/vimscript.c
parentc9f53d0e40815644bbf7c57a0792f2c793c954aa (diff)
downloadrneovim-adb2258345409d08c42809da0212eeb792e70106.tar.gz
rneovim-adb2258345409d08c42809da0212eeb792e70106.tar.bz2
rneovim-adb2258345409d08c42809da0212eeb792e70106.zip
fix(rplugin): dont create data dir if it's a broken symlink #25726
Checking if it's non-empty and not a directory gets us quite far, but not all the way. While a working symlink would trigger the earlier checks, a broken symlink does not. This commit fixes the special case where ~/.local/share/nvim already exists but is a broken symlink. Thus, it fixes the following error on startup: E739: Cannot create directory /home/samuel/.local/share/nvim: file already exists
Diffstat (limited to 'src/nvim/api/vimscript.c')
0 files changed, 0 insertions, 0 deletions