Mercurial > vim
view runtime/macros/less.bat @ 20009:6eb3c91d9875 v8.2.0560
patch 8.2.0560: compiler warning in tiny build
Commit: https://github.com/vim/vim/commit/2196bce56fcd56b0eaece50c079bac99f5bc31af
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 12 20:01:11 2020 +0200
patch 8.2.0560: compiler warning in tiny build
Problem: Compiler warning in tiny build.
Solution: Move declaration inside #ifdef. (Dominique Pelle, closes https://github.com/vim/vim/issues/5915)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Apr 2020 20:15:03 +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" %* )