patch 9.0.1653: Amiga: default 'viewdir' may not work

Problem:    Amiga: default 'viewdir' may not work.
Solution:   Use "home:" instead of "$VIM". Add a test. (Christian Brabandt,
            closes #12576)
This commit is contained in:
Christian Brabandt
2023-06-23 22:23:01 +01:00
committed by Bram Moolenaar
parent bd32e8ad8d
commit b8b1c8ebd4
5 changed files with 22 additions and 3 deletions

View File

@ -199,7 +199,7 @@ typedef long off_t;
#endif
#ifndef DFLT_VDIR
# define DFLT_VDIR "$VIM/vimfiles/view" // default for 'viewdir'
# define DFLT_VDIR "home:vimfiles/view" // default for 'viewdir'
#endif
#ifndef DFLT_MAXMEM