view src/pathdef.sh @ 23056:57b6427c18e4 v8.2.2074

patch 8.2.2074: Vim9: using :normal from Vim9 script can't handle range Commit: https://github.com/vim/vim/commit/4324d87a4432721d9dbc72c1e336350bc6b7ebc3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 1 20:12:24 2020 +0100 patch 8.2.2074: Vim9: using :normal from Vim9 script can't handle range Problem: Vim9: using :normal from Vim9 script can't handle range. Solution: Execute a :normal command in legacy script context. (closes https://github.com/vim/vim/issues/7401)
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Dec 2020 20:15:04 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

#! /bin/sh
#
# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
#
if test -s auto/link.sed; then
  cp auto/pathdef.c auto/pathdef.tmp
  sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
  rm -f auto/pathdef.tmp
fi

# vim:set sw=2 et: