Mercurial > vim
view src/which.sh @ 14317:1bc96dbb5498 v8.1.0174
patch 8.1.0174: after paging up and down fold line is wrong
commit https://github.com/vim/vim/commit/907dad72ef9d29422352fb74ba156e7085a3fc71
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 10 15:07:15 2018 +0200
patch 8.1.0174: after paging up and down fold line is wrong
Problem: After paging up and down fold line is wrong.
Solution: Correct the computation of w_topline and w_botline. (Hirohito
Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jul 2018 15:15:07 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done