annotate runtime/compiler/standard.vim @ 32208:73c5881c1793
v9.0.1435
patch 9.0.1435: scrolling too many lines when 'wrap' and 'diff' are set
Commit: https://github.com/vim/vim/commit/38d867f041349e1400c2cce9cac06f59ae6ccbb1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 1 19:54:40 2023 +0100
patch 9.0.1435: scrolling too many lines when 'wrap' and 'diff' are set
Problem: Scrolling too many lines when 'wrap' and 'diff' are set.
Solution: Only scroll by screenlines for 'diff' when 'wrap' is not set.
(closes #12211)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 01 Apr 2023 21:00:04 +0200 |
parents |
bbca88cd13d5 |
children |
e1df51f68736 |
rev |
line source |
20552
|
1 " Vim compiler file
|
|
2 " Compiler: Standard for JavaScript
|
|
3 " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
21991
|
4 " Last Change: 2020 August 20
|
20552
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "standard"
|
|
10
|
|
11 if exists(":CompilerSet") != 2
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
21991
|
15 CompilerSet makeprg=npx\ standard
|
|
16 CompilerSet errorformat=%f:%l:%c:\ %m,%-G%.%#
|