Mercurial > vim
view src/which.sh @ 22069:87502e318c19 v8.2.1584
patch 8.2.1584: Vim9: cannot use "true" for "skipstart" in prop_find()
Commit: https://github.com/vim/vim/commit/eb24556df3b16a19009ee3ddee8ae94dc058a3b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 3 22:33:44 2020 +0200
patch 8.2.1584: Vim9: cannot use "true" for "skipstart" in prop_find()
Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
Solution: Use dict_get_bool() instead of tv_get_number(). (closes https://github.com/vim/vim/issues/6852)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 03 Sep 2020 22:45:06 +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