annotate runtime/ftplugin/cvsrc.vim @ 19681:e21c22c58e2b
v8.2.0397
patch 8.2.0397: delayed screen update when using undo from Insert mode
Commit: https://github.com/vim/vim/commit/5715b3147bfc8ddfe905339f6fd224fd3a5a3ba1
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 16 22:08:45 2020 +0100
patch 8.2.0397: delayed screen update when using undo from Insert mode
Problem: Delayed screen update when using undo from Insert mode.
Solution: Update w_topline and cursor shape before sleeping. (closes https://github.com/vim/vim/issues/5790)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 16 Mar 2020 22:15:04 +0100 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
375
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: cvs(1) RC file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
375
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
375
|
15
|
389
|
16 setlocal comments= commentstring= formatoptions-=tcroql
|
1698
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|