Mercurial > vim
annotate runtime/colors/default.vim @ 17425:6580e2dfcaeb v8.1.1711
patch 8.1.1711: listener callback called at the wrong moment
commit https://github.com/vim/vim/commit/acf7544cf62227972eeb063d6d9ecddaa5682a73
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 17 22:55:35 2019 +0200
patch 8.1.1711: listener callback called at the wrong moment
Problem: Listener callback called at the wrong moment
Solution: Invoke listeners before calling ml_delete_int(). (closes https://github.com/vim/vim/issues/4657)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 Jul 2019 23:00:06 +0200 |
parents | 3fc0f57ecb91 |
children | 4027cefc2aab |
rev | line source |
---|---|
7 | 1 " Vim color file |
2 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
3 " Last Change: 2001 Jul 23 | |
4 | |
5 " This is the default color scheme. It doesn't define the Normal | |
6 " highlighting, it uses whatever the colors used to be. | |
7 | |
8 " Set 'background' back to the default. The value can't always be estimated | |
9 " and is then guessed. | |
10 hi clear Normal | |
11 set bg& | |
12 | |
13 " Remove all existing highlighting and set the defaults. | |
14 hi clear | |
15 | |
16 " Load the syntax highlighting defaults, if it's enabled. | |
17 if exists("syntax_on") | |
18 syntax reset | |
19 endif | |
20 | |
21 let colors_name = "default" | |
22 | |
23 " vim: sw=2 |