SHA256
7
0
forked from pool/vim
Files
vim/vim-7.3-sh_is_bash.patch

19 lines
544 B
Diff
Raw Permalink Normal View History

- update to 9.1.1230 - refresh vim-7.3-sh_is_bash.patch * patch 9.1.1230: inconsistent CTRL-C behaviour for popup windows * patch 9.1.1229: the comment plugin can be improved * runtime(sh): consider sh as POSIX shell by default * patch 9.1.1228: completion: current position column wrong after got a match * runtime(hlyank): add the hlyank package * patch 9.1.1227: no tests for the comment package * patch 9.1.1226: "shellcmdline" completion doesn't work with input() * patch 9.1.1225: extra NULL check in VIM_CLEAR() * runtime(sh): remove invalid commented out line in syntax script * runtime(sh): update sh indent script * patch 9.1.1224: cannot :put while keeping indent * runtime(go): use :term for keywordprg for nvim/gvim * patch 9.1.1223: wrong translation used for encoding failures * patch 9.1.1222: using wrong length for last inserted string * patch 9.1.1221: Wrong cursor pos when leaving Insert mode just after 'autoindent' * patch 9.1.1220: filetype: uv.lock file not recognized * patch 9.1.1219: Strange error with wrong type for matchfuzzy() "camelcase" * patch 9.1.1218: missing out-of-memory check in filepath.c * patch 9.1.1217: tests: typos in test_matchfuzzy.vim * patch 9.1.1216: Pasting the '.' register multiple times may not work * runtime(keymap) Add forward slash (/) to russian-jcukenwin keymap * runtime(vim): Update base-syntax, match multiline return types * patch 9.1.1215: Patch 9.1.1213 has some issues * patch 9.1.1214: matchfuzzy() can be improved for camel case matches * patch 9.1.1213: cannot :put while keeping indent * runtime(syntax-tests): Support "wait-free" test failure * patch 9.1.1212: too many strlen() calls in edit.c * patch 9.1.1212: filetype: logrotate'd pacmanlogs are not recognized OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=881
2025-03-22 17:03:35 +00:00
Index: vim-9.1.1230/runtime/syntax/sh.vim
- Updated to revision 935, fixes the following problems * Test 94 fails on some systems. * test_utf8 has confusing dummy command. * Crash when using longest completion match. - Updated to revision 930, fixes the following problems * When a BufLeave autocommand changes folding in a way it syncs undo, undo can be corrupted. * Python interface can produce error "vim.message' object has no attribute 'isatty'". * Libraries for dynamically loading interfaces can only be defined at compile time. * Compiler complains about type punned pointer. * t_Ce and t_Cs are documented but not supported. (Hirohito Higashi) * Wrong indenting for C++ constructor. * No utf-8 support for the hangul input feature. * New compiler warning: logical-not-parentheses * When removing from 'path' and then adding, a comma may go missing. (Malcolm Rowe) * When running out of memory while copying a dict memory may be freed twice. (ZyX) * Compiler warning for comparing signed and unsigned. * A digit in an option name has problems. * The dll options are not in the options window. * The rubydll option is not in the options window. * Missing proto file update. (Randall W. Morris) * Leaking memory with ":helpt {dir-not-exists}". * Prototypes not always generated. * User may yank or put using the register being recorded in. * Completing the longest match doesn't work properly with multi-byte characters. * Ruby crashes when there is a runtime error. * A clientserver message interrupts handling keys of a mapping. * "gv" after paste selects one character less if 'selection' is "exclusive". * MS-Windows: Most users appear not to like the window border. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=292
2015-11-22 16:39:30 +00:00
===================================================================
- update to 9.1.1230 - refresh vim-7.3-sh_is_bash.patch * patch 9.1.1230: inconsistent CTRL-C behaviour for popup windows * patch 9.1.1229: the comment plugin can be improved * runtime(sh): consider sh as POSIX shell by default * patch 9.1.1228: completion: current position column wrong after got a match * runtime(hlyank): add the hlyank package * patch 9.1.1227: no tests for the comment package * patch 9.1.1226: "shellcmdline" completion doesn't work with input() * patch 9.1.1225: extra NULL check in VIM_CLEAR() * runtime(sh): remove invalid commented out line in syntax script * runtime(sh): update sh indent script * patch 9.1.1224: cannot :put while keeping indent * runtime(go): use :term for keywordprg for nvim/gvim * patch 9.1.1223: wrong translation used for encoding failures * patch 9.1.1222: using wrong length for last inserted string * patch 9.1.1221: Wrong cursor pos when leaving Insert mode just after 'autoindent' * patch 9.1.1220: filetype: uv.lock file not recognized * patch 9.1.1219: Strange error with wrong type for matchfuzzy() "camelcase" * patch 9.1.1218: missing out-of-memory check in filepath.c * patch 9.1.1217: tests: typos in test_matchfuzzy.vim * patch 9.1.1216: Pasting the '.' register multiple times may not work * runtime(keymap) Add forward slash (/) to russian-jcukenwin keymap * runtime(vim): Update base-syntax, match multiline return types * patch 9.1.1215: Patch 9.1.1213 has some issues * patch 9.1.1214: matchfuzzy() can be improved for camel case matches * patch 9.1.1213: cannot :put while keeping indent * runtime(syntax-tests): Support "wait-free" test failure * patch 9.1.1212: too many strlen() calls in edit.c * patch 9.1.1212: filetype: logrotate'd pacmanlogs are not recognized OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=881
2025-03-22 17:03:35 +00:00
--- 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
- Updated to revision 935, fixes the following problems * Test 94 fails on some systems. * test_utf8 has confusing dummy command. * Crash when using longest completion match. - Updated to revision 930, fixes the following problems * When a BufLeave autocommand changes folding in a way it syncs undo, undo can be corrupted. * Python interface can produce error "vim.message' object has no attribute 'isatty'". * Libraries for dynamically loading interfaces can only be defined at compile time. * Compiler complains about type punned pointer. * t_Ce and t_Cs are documented but not supported. (Hirohito Higashi) * Wrong indenting for C++ constructor. * No utf-8 support for the hangul input feature. * New compiler warning: logical-not-parentheses * When removing from 'path' and then adding, a comma may go missing. (Malcolm Rowe) * When running out of memory while copying a dict memory may be freed twice. (ZyX) * Compiler warning for comparing signed and unsigned. * A digit in an option name has problems. * The dll options are not in the options window. * The rubydll option is not in the options window. * Missing proto file update. (Randall W. Morris) * Leaking memory with ":helpt {dir-not-exists}". * Prototypes not always generated. * User may yank or put using the register being recorded in. * Completing the longest match doesn't work properly with multi-byte characters. * Ruby crashes when there is a runtime error. * A clientserver message interrupts handling keys of a mapping. * "gv" after paste selects one character less if 'selection' is "exclusive". * MS-Windows: Most users appear not to like the window border. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=292
2015-11-22 16:39:30 +00:00
" ================================
if !exists("g:sh_fold_enabled")