a0c0895a0b
Add "Keywords" to gvim.desktop to make searching for gvim easier OBS-URL: https://build.opensuse.org/request/show/1189899 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=861
17 lines
631 B
Diff
17 lines
631 B
Diff
Index: vim-9.1.0530/src/main.c
|
|
===================================================================
|
|
--- vim-9.1.0530.orig/src/main.c
|
|
+++ vim-9.1.0530/src/main.c
|
|
@@ -3251,7 +3251,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, NULL);
|
|
+ if (do_source((char_u *)SYS_VIMRC_FILE, FALSE, DOSO_NONE, NULL) == FAIL)
|
|
+ {
|
|
+ (void)do_source((char_u *)"$VIMRUNTIME/suse.vimrc", FALSE, DOSO_NONE, NULL);
|
|
+ }
|
|
#endif
|
|
#ifdef MACOS_X
|
|
(void)do_source((char_u *)"$VIMRUNTIME/macmap.vim", FALSE,
|