Mercurial > vim
view runtime/macros/less.bat @ 24897:80edcb27d19a v8.2.2986
patch 8.2.2986: build failure without the profile feature
Commit: https://github.com/vim/vim/commit/d9f31c13d217b4b97f724774a67a6d1f8640e8ae
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 13 14:15:29 2021 +0200
patch 8.2.2986: build failure without the profile feature
Problem: Build failure without the profile feature.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jun 2021 14:30: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" %* )