Mercurial > vim
annotate runtime/colors/default.vim @ 10970:ab9f7bbe4439 v8.0.0374
patch 8.0.0374: invalid memory access when using :sc in Ex mode
commit https://github.com/vim/vim/commit/ba748c8a847561c043a63827bcb1d98bdebe16e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 14:00:07 2017 +0100
patch 8.0.0374: invalid memory access when using :sc in Ex mode
Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution: Avoid the column being negative. Also fix a hang in Ex mode.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Feb 2017 14:15:04 +0100 |
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 |