1
0
forked from aniani/vim

patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check

Problem:    When 'buftype' is "nofile" there is no overwrite check.
Solution:   Also check for existing file when 'buftype' is set.
            (closes #5807)
This commit is contained in:
Bram Moolenaar
2020-03-19 12:38:34 +01:00
parent 30d53e2c11
commit a3a9c8ef69
3 changed files with 13 additions and 6 deletions

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
403,
/**/
402,
/**/