annotate runtime/indent/mail.vim @ 19147:06ef1e438ac8
v8.2.0133
patch 8.2.0133: invalid memory access with search command
Commit: https://github.com/vim/vim/commit/98a336dd497d3422e7efeef9f24cc9e25aeb8a49
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 20 20:22:30 2020 +0100
patch 8.2.0133: invalid memory access with search command
Problem: Invalid memory access with search command.
Solution: When :normal runs out of characters in bracketed paste mode break
out of the loop.(closes #5511)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 20 Jan 2020 20:30:04 +0100 |
parents |
7bc41231fbc7 |
children |
9c221ad9634a |
rev |
line source |
2034
|
1 " Vim indent file
|
|
2 " Language: Mail
|
|
3 " Maintainer: Bram Moolenaar
|
|
4 " Last Change: 2009 Jun 03
|
|
5
|
|
6 if exists("b:did_indent")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_indent = 1
|
|
10
|
|
11 " What works best is auto-indenting, disable other indenting.
|
|
12 " For formatting see the ftplugin.
|
|
13 setlocal autoindent nosmartindent nocindent indentexpr=
|