aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tempfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/tempfile.c')
-rw-r--r--src/nvim/tempfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/tempfile.c b/src/nvim/tempfile.c
index 5b6268168d..6566749f8a 100644
--- a/src/nvim/tempfile.c
+++ b/src/nvim/tempfile.c
@@ -70,7 +70,8 @@ int delete_recursive(char_u *name)
int file_count;
char_u *exp = vim_strsave(NameBuff);
if (gen_expand_wildcards(1, &exp, &file_count, &files,
- EW_DIR | EW_FILE | EW_SILENT) == OK) {
+ EW_DIR | EW_FILE | EW_SILENT
+ | EW_ALLLINKS | EW_DODOT) == OK) {
for (int i = 0; i < file_count; i++) {
if (delete_recursive(files[i]) != 0) {
result = -1;