view src/pathdef.sh @ 27780:f1d5822ca0d7 v8.2.4416

patch 8.2.4416: Vim9: using a script-local function requires using "s:" Commit: https://github.com/vim/vim/commit/1fca5f3e86f08e696058fc7e86dfe41b415a78e6 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 18 17:50:47 2022 +0000 patch 8.2.4416: Vim9: using a script-local function requires using "s:" Problem: Vim9: using a script-local function requires using "s:" when setting 'completefunc'. Solution: Do not require "s:" in Vim9 script. (closes #9796)
author Bram Moolenaar <Bram@vim.org>
date Fri, 18 Feb 2022 19:00: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: