view runtime/macros/less.bat @ 14280:bdab22732907 v8.1.0156

patch 8.1.0156: MS-Windows compiler warning commit https://github.com/vim/vim/commit/5d2f40792e47a48fc56efafd30b68660a42184a7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 6 22:52:02 2018 +0200 patch 8.1.0156: MS-Windows compiler warning Problem: MS-Windows compiler warning. Solution: Add a type cast. (Mike Williams)
author Christian Brabandt <cb@256bit.org>
date Fri, 06 Jul 2018 23:00:06 +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" %*
)