annotate runtime/macros/less.bat @ 21572:e9954158a9cf
v8.2.1336
patch 8.2.1336: build failure on non-Unix systems
Commit: https://github.com/vim/vim/commit/af50e899e70ee34d5356846afbea7d75701cb22b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 1 13:22:10 2020 +0200
patch 8.2.1336: build failure on non-Unix systems
Problem: Build failure on non-Unix systems.
Solution: Add #ifdef.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 01 Aug 2020 13:30:05 +0200 |
parents |
1b584a6f446c |
children |
|
rev |
line source |
3513
|
1 @echo off
|
|
2 rem batch file to start Vim with less.vim.
|
|
3 rem Read stdin if no arguments were given.
|
|
4 rem Written by Ken Takata.
|
|
5
|
|
6 if "%1"=="" (
|
|
7 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
|
|
8 ) else (
|
|
9 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
|
|
10 )
|