Mercurial > vim
view runtime/macros/less.bat @ 9165:062eb6d28b0c v7.4.1866
commit https://github.com/vim/vim/commit/a96732150cda2f242133228579b05437a39b8daa
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 1 22:21:06 2016 +0200
patch 7.4.1866
Problem: Invalid memory access when exiting with EXITFREE defined.
(Dominique Pelle)
Solution: Set "really_exiting" and skip error messages.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Jun 2016 22:30:07 +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" %* )