summaryrefslogtreecommitdiff
path: root/src/os_mac.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_mac.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_mac.h')
-rw-r--r--src/os_mac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os_mac.h b/src/os_mac.h
index 9fc2f9289..f1c7cb719 100644
--- a/src/os_mac.h
+++ b/src/os_mac.h
@@ -215,6 +215,9 @@
#ifndef DFLT_RUNTIMEPATH
# define DFLT_RUNTIMEPATH "~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after"
#endif
+#ifndef CLEAN_RUNTIMEPATH
+# define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after"
+#endif
/*
* Macintosh has plenty of memory, use large buffers