From 425fcdb5b4bc6dec05dafe2e2675c8a7cfe37187 Mon Sep 17 00:00:00 2001 From: Jurica Bradaric Date: Sun, 28 Feb 2016 13:26:10 +0100 Subject: vim-patch:7.4.1120 Problem: delete(x, 'rf') fails if a directory is empty. (Lcd) Solution: Ignore not finding matches in an empty directory. https://github.com/vim/vim/commit/336bd622c31e1805495c034e1a8cfadcc0bbabc7 --- src/nvim/path.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/path.h') diff --git a/src/nvim/path.h b/src/nvim/path.h index 9574d8131f..88e5935c24 100644 --- a/src/nvim/path.h +++ b/src/nvim/path.h @@ -22,6 +22,7 @@ * is used when executing commands and EW_SILENT for interactive expanding. */ #define EW_ALLLINKS 0x1000 // also links not pointing to existing file #define EW_DODOT 0x4000 // also files starting with a dot +#define EW_EMPTYOK 0x8000 // no matches is not an error /// Return value for the comparison of two files. Also @see path_full_compare. typedef enum file_comparison { -- cgit