vim/vim-7.3-sh_is_bash.patch
Ismail Dönmez d9ed24658f - Disable more tests failing randomly on OBS:
* test_arglist
    * test_command_count
    * test_diffmode
    * test_mksession
    * test_startup
    * test_window_cmd

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=594
2020-03-31 14:30:46 +00:00

19 lines
545 B
Diff

Index: vim-8.2.0348/runtime/syntax/sh.vim
===================================================================
--- vim-8.2.0348.orig/runtime/syntax/sh.vim
+++ vim-8.2.0348/runtime/syntax/sh.vim
@@ -64,6 +64,13 @@ if !exists("b:is_kornshell") && !exists(
endif
endif
+" Neither is_kornshell nor is_bash was explicitly set, and
+" /bin/sh is a bash on SUSE LINUX.
+if exists("b:is_sh")
+ let b:is_bash= 1
+ unlet b:is_sh
+endif
+
" set up default g:sh_fold_enabled {{{1
" ================================
if !exists("g:sh_fold_enabled")