4f8d39a99f
* Crash on exit when EXITFREE is defined. (Dominique Pelle) * Valgrind reports using uninitialzed memory. (Dominique Pelle) * Test 86 and 87 fail with some version of Python. * Netbeans test fails when run from unpacked MS-Windows sources. * Netbeans test fails in shadow directory. * Not enough test coverage for Normal mode commands. * The example that explains nested backreferences does not work properly with the new regexp engine. (Harm te Hennepe) * Regexp fails to match when using "\>\)\?". (Ramel) * Reading past end of line when using previous substitute pattern. (Dominique Pelle) * Attempt to read history entry while not initialized. * Compiler warnings with Solaris Studio when using GTK3. * Memory leak in timer_start(). * Invalid memory access when formatting. (Dominique Pelle) * Checking for last_timer_id to overflow is not reliable. (Ozaki Kiichi) * Illegal memory access with ":1@". (Dominique Pelle) * Superfluous function prototypes. * Sort test sometimes fails. * Needless line break. Confusing directory name. * MS-Windows gvim.exe does not have DirectX support. * Test runner misses a comma. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=382
19 lines
545 B
Diff
19 lines
545 B
Diff
Index: vim-8.0.0000/runtime/syntax/sh.vim
|
|
===================================================================
|
|
--- vim-8.0.0000.orig/runtime/syntax/sh.vim
|
|
+++ vim-8.0.0000/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")
|