packages/vim-python&&packages/vim

This commit is contained in:
termux-actions[bot]
2022-02-23 13:38:54 +00:00
parent 3470492ef9
commit 1b311e3482
10 changed files with 64 additions and 37 deletions

View File

@@ -0,0 +1,17 @@
--- a/runtime/syntax/sh.vim
+++ b/runtime/syntax/sh.vim
@@ -25,10 +25,10 @@
" the script itself does not specify which shell to use. FYI: /bin/sh is ambiguous.
" Assuming /bin/sh is executable, and if its a link, find out what it links to.
let s:shell = ""
- if executable("/bin/sh")
- let s:shell = resolve("/bin/sh")
- elseif executable("/usr/bin/sh")
- let s:shell = resolve("/usr/bin/sh")
+ if executable("@TERMUX_PREFIX@/bin/sh")
+ let s:shell = resolve("@TERMUX_PREFIX@/bin/sh")
+ elseif executable("/system/bin/sh")
+ let s:shell = resolve("/system/bin/sh")
endif
if s:shell =~ '\<ksh\>'
let b:is_kornshell= 1