view runtime/macros/less.bat @ 32268:e26c71f837f5 v9.0.1465

patch 9.0.1465: Haiku build fails Commit: https://github.com/vim/vim/commit/89f9ffbe810c4705439096d646681e734e353e3e Author: ichizok <gclient.gaap@gmail.com> Date: Tue Apr 18 17:20:08 2023 +0100 patch 9.0.1465: Haiku build fails Problem: Haiku build fails. Solution: Do not include globals.h and proto.h twice. (Ozaki Kiichi, closes #12273)
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Apr 2023 18:30: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" %*
)