From 072687032683b1994d25a114893d9a6f8bc36612 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 1 Mar 2018 21:57:32 +0100 Subject: patch 8.0.1554: custom plugins loaded with --clean Problem: Custom plugins loaded with --clean. Solution: Do not include the home directory in 'runtimepath'. --- src/os_unix.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/os_unix.h') diff --git a/src/os_unix.h b/src/os_unix.h index 695affaea..414652924 100644 --- a/src/os_unix.h +++ b/src/os_unix.h @@ -366,11 +366,14 @@ typedef struct dsc$descriptor DESC; #ifdef VMS # define DFLT_RUNTIMEPATH "sys$login:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,sys$login:vimfiles/after" +# define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" #else # ifdef RUNTIME_GLOBAL # define DFLT_RUNTIMEPATH "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/.vim/after" +# define CLEAN_RUNTIMEPATH RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after" # else # define DFLT_RUNTIMEPATH "~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after" +# define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" # endif #endif -- cgit v1.2.1