File vim-7.3-sh_is_bash.patch of Package vim

Index: vim-9.1.1230/runtime/syntax/sh.vim
===================================================================
--- vim-9.1.1230.orig/runtime/syntax/sh.vim
+++ vim-9.1.1230/runtime/syntax/sh.vim
@@ -80,6 +80,13 @@ if exists("b:is_kornshell") || exists("b
  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")
openSUSE Build Service is sponsored by