view src/pathdef.sh @ 22776:0583f3e2c12e v8.2.1936

patch 8.2.1936: session sets the local 'scrolloff' value to the global value Commit: https://github.com/vim/vim/commit/388908352f88e7391accb3545b082db0fc89d9f7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 1 17:40:54 2020 +0100 patch 8.2.1936: session sets the local 'scrolloff' value to the global value Problem: Session sets the local 'scrolloff' value to the global value. Solution: Do not let restoring the global option value change the local value.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Nov 2020 17:45: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: