annotate runtime/indent/mail.vim @ 32094:7d94b1c0f292
v9.0.1378
patch 9.0.1378: illegal memory access when using virtual editing
Commit: https://github.com/vim/vim/commit/c99cbf8f289bdda5d4a77d7ec415850a520330ba
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 4 14:13:10 2023 +0000
patch 9.0.1378: illegal memory access when using virtual editing
Problem: Illegal memory access when using virtual editing.
Solution: Make sure "startspaces" is not negative.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 04 Mar 2023 15:15:04 +0100 |
parents |
9c221ad9634a |
children |
71cbad0921c9 |
rev |
line source |
2034
|
1 " Vim indent file
|
|
2 " Language: Mail
|
|
3 " Maintainer: Bram Moolenaar
|
25880
|
4 " Last Change: 2021 Sep 26
|
2034
|
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=
|
25880
|
14
|
|
15 let b:undo_indent = "setl ai< cin< inde< si<"
|