Files
neovim/runtime/plugin
Samuel (ThinLinc team) 8a85eb7a21 fix: dont create data dir if it's a broken symlink
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

(cherry picked from commit a6051e68a3)
2023-11-28 11:27:28 +00:00
..
2021-04-28 21:29:57 -04:00
2023-11-07 02:39:45 +00:00
2021-09-13 06:05:27 -07:00
2023-02-03 09:18:18 +01:00
2015-08-15 15:25:30 -03:00
2021-11-17 10:02:59 +01:00