annotate runtime/ftplugin/denyhosts.vim @ 31406:627d4f236ac8
v9.0.1036
patch 9.0.1036: undo misbehaves when writing from an insert mode mapping
Commit: https://github.com/vim/vim/commit/3f8f82772313af9f2417b06651f30988b63e1c96
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 8 21:49:35 2022 +0000
patch 9.0.1036: undo misbehaves when writing from an insert mode mapping
Problem: Undo misbehaves when writing from an insert mode mapping.
Solution: Sync undo when writing. (closes https://github.com/vim/vim/issues/11674)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Thu, 08 Dec 2022 23:00:03 +0100 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
1622
|
1 " Vim filetype plugin file
|
11062
|
2 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
3 " Latest Revision: 2007-12-04
|
1622
|
4
|
|
5 if exists("b:did_ftplugin")
|
|
6 finish
|
|
7 endif
|
|
8 let b:did_ftplugin = 1
|
|
9
|
|
10 let s:cpo_save = &cpo
|
|
11 set cpo&vim
|
|
12
|
|
13 let b:undo_ftplugin = "setl com< cms< fo<"
|
|
14
|
|
15 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
|
16
|
1698
|
17 let &cpo = s:cpo_save
|
|
18 unlet s:cpo_save
|