view runtime/macros/less.bat @ 20083:0da696bd7352 v8.2.0597

patch 8.2.0597: test_eval is old style Commit: https://github.com/vim/vim/commit/90455cfa87f84f16179c19241b034abbfa8b3c9a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 18 21:56:38 2020 +0200 patch 8.2.0597: test_eval is old style Problem: Test_eval is old style. Solution: Change some tests to a new style test.
author Bram Moolenaar <Bram@vim.org>
date Sat, 18 Apr 2020 22: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" %*
)