vim/vim-7.0-sh_is_bash.patch

17 lines
443 B
Diff

--- vim70/runtime/syntax/sh.vim.orig 2006-04-13 18:46:09.000000000 +0200
+++ vim70/runtime/syntax/sh.vim 2006-07-11 16:08:09.000000000 +0200
@@ -54,6 +54,13 @@
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")
let g:sh_fold_enabled= 0