Mercurial > vim
view 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 |
line wrap: on
line source
" Vim indent file " Language: Mail " Maintainer: Bram Moolenaar " Last Change: 2021 Sep 26 if exists("b:did_indent") finish endif let b:did_indent = 1 " What works best is auto-indenting, disable other indenting. " For formatting see the ftplugin. setlocal autoindent nosmartindent nocindent indentexpr= let b:undo_indent = "setl ai< cin< inde< si<"