2025-09-11 12:24:27 +02:00
|
|
|
Index: vim-9.1.1406/runtime/syntax/sh.vim
|
2023-10-11 09:16:58 +02:00
|
|
|
===================================================================
|
2025-09-11 12:24:27 +02:00
|
|
|
--- vim-9.1.1406.orig/runtime/syntax/sh.vim
|
|
|
|
+++ vim-9.1.1406/runtime/syntax/sh.vim
|
|
|
|
@@ -142,6 +142,13 @@ if exists("b:is_kornshell") || exists("b
|
|
|
|
endif
|
2023-10-11 09:16:58 +02:00
|
|
|
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")
|