view src/pathdef.sh @ 32796:e98fc0c439aa v9.0.1714

patch 9.0.1714: getcompletion() "cmdline" fails after :autocmd Commit: https://github.com/vim/vim/commit/e4c79d36150431ffb97cb8952ec482af2e57f228 Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Aug 15 22:41:53 2023 +0200 patch 9.0.1714: getcompletion() "cmdline" fails after :autocmd Problem: getcompletion() "cmdline" fails after :autocmd Solution: Use set_cmd_context() instead of set_one_cmd_context(). closes: #12804 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Tue, 15 Aug 2023 23:00:03 +0200
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: