Mercurial > vim
annotate runtime/colors/default.vim @ 29544:80b4c435450a v9.0.0113
patch 9.0.0113: has() is not strict about parsing the patch version
Commit: https://github.com/vim/vim/commit/d90f91fe3075bb51668ed926182b2163da9df001
Author: K.Takata <kentkt@csc.jp>
Date: Sat Jul 30 15:43:59 2022 +0100
patch 9.0.0113: has() is not strict about parsing the patch version
Problem: has() is not strict about parsing the patch version.
Solution: Check the version more strictly. (Ken Takata, closes https://github.com/vim/vim/issues/10752)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Jul 2022 16:45:05 +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 |