diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-01 21:57:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-01 21:57:32 +0100 |
commit | 072687032683b1994d25a114893d9a6f8bc36612 (patch) | |
tree | 92733e191032910aa84c907ee34d537a12250654 /src/os_unix.h | |
parent | 5f73ef8d20070cd45c9aea4dc33c2e0657f5515c (diff) | |
download | vim-git-072687032683b1994d25a114893d9a6f8bc36612.tar.gz |
patch 8.0.1554: custom plugins loaded with --cleanv8.0.1554
Problem: Custom plugins loaded with --clean.
Solution: Do not include the home directory in 'runtimepath'.
Diffstat (limited to 'src/os_unix.h')
-rw-r--r-- | src/os_unix.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |