Mercurial > vim
view runtime/colors/default.vim @ 28654:8fc86c943863 v8.2.4851
patch 8.2.4851: compiler warning for uninitialized variable
Commit: https://github.com/vim/vim/commit/b4011afe53ce2d065e49718b8c5b9974b7022f92
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 1 00:42:24 2022 +0100
patch 8.2.4851: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable.
Solution: Use another variable to decide to restore option values.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 May 2022 01:45:04 +0200 |
parents | 3fc0f57ecb91 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim color file " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2001 Jul 23 " This is the default color scheme. It doesn't define the Normal " highlighting, it uses whatever the colors used to be. " Set 'background' back to the default. The value can't always be estimated " and is then guessed. hi clear Normal set bg& " Remove all existing highlighting and set the defaults. hi clear " Load the syntax highlighting defaults, if it's enabled. if exists("syntax_on") syntax reset endif let colors_name = "default" " vim: sw=2