summaryrefslogtreecommitdiff
path: root/src/os_dos.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-01 21:57:32 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-01 21:57:32 +0100
commit072687032683b1994d25a114893d9a6f8bc36612 (patch)
tree92733e191032910aa84c907ee34d537a12250654 /src/os_dos.h
parent5f73ef8d20070cd45c9aea4dc33c2e0657f5515c (diff)
downloadvim-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_dos.h')
-rw-r--r--src/os_dos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_dos.h b/src/os_dos.h
index 0edc3e0db..bb8b30848 100644
--- 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