Mercurial > vim
view runtime/macros/less.bat @ 9573:9946c4c33598 v7.4.2064
commit https://github.com/vim/vim/commit/4f5c5f29806e53251b7a7b68ce7de86a21ff8015
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 17 22:25:36 2016 +0200
patch 7.4.2064
Problem: Coverity warns for possible buffer overflow.
Solution: Use vim_strcat() instead of strcat().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jul 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" %* )