* [security]: segfault in win_line() * update helptags * filetype: just files are not recognized * Update base-syntax, match ternary and falsy operators * Vim9: out-of-bound access when echoing an enum * Vim9: imported type cannot be used as func return type * runtime(kconfig): updated ftplugin and syntax script * runtime(doc): rename last t_BG reference to t_RB * Vim9: comments are outdated * tests: test_channel.py fails with IPv6 * runtime(vim): Update base-syntax, fix is/isnot operator matching * Vim9: confusing error when using abstract method via super * make install fails when using shadowdir * Vim9: memory leak with blob2str() * runtime(tex): add texEmphStyle to texMatchGroup in syntax script * runtime(netrw): upstream snapshot of v175 * Vim9: compiling abstract method fails without return * runtime(c): add new constexpr keyword to syntax file (C23) * tests: shaderslang was removed from test_filetype erroneously * link error when FEAT_SPELL not defined * Coverity complains about insecure data handling * runtime(sh): update syntax script * runtime(c): Add missing syntax test files * filetype: setting bash filetype is backwards incompatible * runtime(c): Update syntax and ftplugin files * the installer can be improved * too many strlen() calls in screen.c * no sanitize check when running linematch * filetype: swc configuration files are not recognized OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=873
19 lines
538 B
Diff
19 lines
538 B
Diff
Index: vim-8.2.2411/runtime/syntax/sh.vim
|
|
===================================================================
|
|
--- vim-8.2.2411.orig/runtime/syntax/sh.vim
|
|
+++ vim-8.2.2411/runtime/syntax/sh.vim
|
|
@@ -74,6 +74,13 @@ if exists("b:is_dash")
|
|
let b:is_posix= 1
|
|
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")
|