Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:Update
vim.23083
vim-8.0.1568-globalvimrc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vim-8.0.1568-globalvimrc.patch of Package vim.23083
Index: vim-8.0.1568/src/main.c =================================================================== --- vim-8.0.1568.orig/src/main.c +++ vim-8.0.1568/src/main.c @@ -3003,7 +3003,10 @@ source_startup_scripts(mparm_T *parmp) * Get system wide defaults, if the file name is defined. */ #ifdef SYS_VIMRC_FILE - (void)do_source((char_u *)SYS_VIMRC_FILE, FALSE, DOSO_NONE); + if (do_source((char_u *)SYS_VIMRC_FILE, FALSE, DOSO_NONE) == FAIL) + { + (void)do_source((char_u *)"$VIMRUNTIME/suse.vimrc", FALSE, DOSO_NONE); + } #endif #ifdef MACOS_X (void)do_source((char_u *)"$VIMRUNTIME/macmap.vim", FALSE, DOSO_NONE);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor