Mercurial > vim
comparison src/os_unix.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 | 24a1fbd78b76 |
children | 80f715651c4c |
comparison
equal
deleted
inserted
replaced
13360:7c7ebafc5c3c | 13361:65c29bd4548b |
---|---|
364 | 364 |
365 #define DFLT_ERRORFILE "errors.err" | 365 #define DFLT_ERRORFILE "errors.err" |
366 | 366 |
367 #ifdef VMS | 367 #ifdef VMS |
368 # define DFLT_RUNTIMEPATH "sys$login:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,sys$login:vimfiles/after" | 368 # define DFLT_RUNTIMEPATH "sys$login:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,sys$login:vimfiles/after" |
369 # define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" | |
369 #else | 370 #else |
370 # ifdef RUNTIME_GLOBAL | 371 # ifdef RUNTIME_GLOBAL |
371 # define DFLT_RUNTIMEPATH "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/.vim/after" | 372 # define DFLT_RUNTIMEPATH "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/.vim/after" |
373 # define CLEAN_RUNTIMEPATH RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after" | |
372 # else | 374 # else |
373 # define DFLT_RUNTIMEPATH "~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after" | 375 # define DFLT_RUNTIMEPATH "~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after" |
376 # define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" | |
374 # endif | 377 # endif |
375 #endif | 378 #endif |
376 | 379 |
377 #ifdef VMS | 380 #ifdef VMS |
378 # ifndef VAX | 381 # ifndef VAX |