Mercurial > vim
annotate runtime/colors/default.vim @ 23531:f39a18a42aed v8.2.2308
patch 8.2.2308: Vim9: no error when assigning lambda to funcref
Commit: https://github.com/vim/vim/commit/328eac2b5d1569c57e1130ecb9f7cca733b84d78
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 7 19:23:08 2021 +0100
patch 8.2.2308: Vim9: no error when assigning lambda to funcref
Problem: Vim9: no error when assigning lambda to funcref without return
value.
Solution: Default return value to "any". (closes #7629)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 Jan 2021 19:30:06 +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 |