diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-02-12 21:33:51 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-02-16 07:49:44 -0500 |
commit | 986eafce4708c8f49552d7dcd0cc5fe471caa655 (patch) | |
tree | fd338dbbc51730bfdc29029708e71028800a1653 /src/nvim/ex_docmd.c | |
parent | 5e38516a462cf346e3379f68f4581afa22a9314c (diff) | |
download | rneovim-986eafce4708c8f49552d7dcd0cc5fe471caa655.tar.gz rneovim-986eafce4708c8f49552d7dcd0cc5fe471caa655.tar.bz2 rneovim-986eafce4708c8f49552d7dcd0cc5fe471caa655.zip |
vim-patch:8.1.2187: error for bad regexp even though regexp is not used
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes vim/vim#5059)
https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 12bee3ab86..d0193064b0 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -4373,7 +4373,7 @@ int expand_filename(exarg_T *eap, char_u **cmdlinep, char_u **errormsgp) if (has_wildcards) { expand_T xpc; - int options = WILD_LIST_NOTFOUND|WILD_ADD_SLASH; + int options = WILD_LIST_NOTFOUND | WILD_NOERROR | WILD_ADD_SLASH; ExpandInit(&xpc); xpc.xp_context = EXPAND_FILES; |