Mercurial > vim
diff src/os_mac.h @ 13361:65c29bd4548b v8.0.1554
patch 8.0.1554: custom plugins loaded with --clean
commit https://github.com/vim/vim/commit/072687032683b1994d25a114893d9a6f8bc36612
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 1 21:57:32 2018 +0100
patch 8.0.1554: custom plugins loaded with --clean
Problem: Custom plugins loaded with --clean.
Solution: Do not include the home directory in 'runtimepath'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 01 Mar 2018 22:00:09 +0100 |
parents | 351cf7c67bbe |
children | aa9c7588d30a |
line wrap: on
line diff
--- 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