view runtime/macros/less.bat @ 22389:995f5e061e27 v8.2.1743

patch 8.2.1743: cannot build without the eval feature Commit: https://github.com/vim/vim/commit/273af497cac345897cf6369baa87a070876a5815 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 25 23:49:01 2020 +0200 patch 8.2.1743: cannot build without the eval feature Problem: Cannot build without the eval feature. Solution: Move shorten_dir outside of #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Sep 2020 00:00:04 +0200
parents 1b584a6f446c
children
line wrap: on
line source

@echo off
rem batch file to start Vim with less.vim.
rem Read stdin if no arguments were given.
rem Written by Ken Takata.

if "%1"=="" (
  vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
) else (
  vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
)