annotate runtime/indent/mail.vim @ 12385:972732a27d7c
v8.0.1072
patch 8.0.1072: :highlight command causes a redraw even when nothing changed
commit https://github.com/vim/vim/commit/99433291b135094d9592c41f96d3ccd60073e2c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 8 12:37:47 2017 +0200
patch 8.0.1072: :highlight command causes a redraw even when nothing changed
Problem: The :highlight command causes a redraw even when nothing changed.
Solution: Only set "need_highlight_changed" when an attribute changed.
author |
Christian Brabandt <cb@256bit.org> |
date |
Fri, 08 Sep 2017 12:45:04 +0200 |
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=
|