annotate runtime/ftplugin/diff.vim @ 18492:41a5f241e9d5
v8.1.2240
patch 8.1.2240: popup window width changes when scrolling
Commit: https://github.com/vim/vim/commit/f2885d3fb7045d14ae58824e9cb8dea65e4052c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 2 20:21:25 2019 +0100
patch 8.1.2240: popup window width changes when scrolling
Problem: Popup window width changes when scrolling.
Solution: Also adjust maxwidth when applying minwidth and there is a
scrollbar. Fix off-by-one error. (closes #5162)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 02 Nov 2019 20:30:03 +0100 |
parents |
7472c565592a |
children |
3a1ed539ae2a |
rev |
line source |
446
|
1 " Vim filetype plugin file
|
|
2 " Language: Diff
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
4 " Last Change: 2005 Jul 27
|
|
5
|
|
6 " Only do this when not done yet for this buffer
|
|
7 if exists("b:did_ftplugin")
|
|
8 finish
|
|
9 endif
|
|
10 let b:did_ftplugin = 1
|
|
11
|
|
12 let b:undo_ftplugin = "setl modeline<"
|
|
13
|
|
14 " Don't use modelines in a diff, they apply to the diffed file
|
|
15 setlocal nomodeline
|