annotate runtime/macros/less.bat @ 22707:9ff187b1652e
v8.2.1902
patch 8.2.1902: default option values changed with :badd for existing buffer
Commit: https://github.com/vim/vim/commit/e974fa7b2b98e53a59d5ef16a6a1291f12a32e33
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 25 15:02:51 2020 +0100
patch 8.2.1902: default option values changed with :badd for existing buffer
Problem: Default option values are changed when using :badd for an existing
buffer.
Solution: When calling buflist_new() pass a zero line number. (closes #7195)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 25 Oct 2020 15:15:03 +0100 |
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 )
|