diff src/os_dos.h @ 13361:65c29bd4548b v8.0.1554

patch 8.0.1554: custom plugins loaded with --clean commit https://github.com/vim/vim/commit/072687032683b1994d25a114893d9a6f8bc36612 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 1 21:57:32 2018 +0100 patch 8.0.1554: custom plugins loaded with --clean Problem: Custom plugins loaded with --clean. Solution: Do not include the home directory in 'runtimepath'.
author Christian Brabandt <cb@256bit.org>
date Thu, 01 Mar 2018 22:00:09 +0100
parents 4aead6a9b7a9
children 6e3dc2d630c2
line wrap: on
line diff
--- a/src/os_dos.h
+++ b/src/os_dos.h
@@ -125,6 +125,7 @@
 
 #define DFLT_ERRORFILE		"errors.err"
 #define DFLT_RUNTIMEPATH	"$HOME/vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/vimfiles/after"
+#define CLEAN_RUNTIMEPATH	"$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after"
 
 #define CASE_INSENSITIVE_FILENAME   /* ignore case when comparing file names */
 #define SPACE_IN_FILENAME