summaryrefslogtreecommitdiff
path: root/src/os_amiga.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_amiga.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_amiga.h')
-rw-r--r--src/os_amiga.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os_amiga.h b/src/os_amiga.h
index 5154e28c5..336cbdbaf 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -43,6 +43,9 @@
#ifndef DFLT_RUNTIMEPATH
# define DFLT_RUNTIMEPATH "home:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,home:vimfiles/after"
#endif
+#ifndef CLEAN_RUNTIMEPATH
+# define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after"
+#endif
#ifndef BASENAMELEN
# define BASENAMELEN 26 /* Amiga */