Mercurial > vim
view src/which.sh @ 31113:6ff733178f8b v9.0.0891
patch 9.0.0891: virtual text below after match has wrong highlight
Commit: https://github.com/vim/vim/commit/fc1b2d0961ad963e6337c25efe082f4c526aca5e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 16 22:12:57 2022 +0000
patch 9.0.0891: virtual text below after match has wrong highlight
Problem: Virtual text below after match has wrong highlight.
Solution: Restore search_attr only after the virtual text.
(closes #11446)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Nov 2022 23:15:04 +0100 |
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