Mercurial > vim
annotate runtime/colors/default.vim @ 24614:07b3d21a8b4b v8.2.2846
patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Commit: https://github.com/vim/vim/commit/68db996b621b98066fb7ab7028ed5c6aaa3954a8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 9 23:19:22 2021 +0200
patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Problem: Vim9: "echo Func()" does not give an error for a function without
a return value.
Solution: Give an error. Be more specific about why a value is invalid.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 09 May 2021 23:30: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 |