Mercurial > vim
view runtime/colors/shine.vim @ 27970:212c5894b8b1 v8.2.4510
patch 8.2.4510: Vim9: shortening commands leads to confusing script
Commit: https://github.com/vim/vim/commit/204852ae2adfdde10c656ca7f14e5b4207a69172
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 5 12:56:44 2022 +0000
patch 8.2.4510: Vim9: shortening commands leads to confusing script
Problem: Vim9: shortening commands leads to confusing script.
Solution: In Vim9 script require at least ":cont" for ":continue", "const"
instead of "cons", "break" instead of "brea", "catch" instead of
"cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
instead of "endfo" "endif" instead of "en" "endtry" instead of
"endt", "finally" instead of "fina", "throw" instead of "th",
"while" instead of "wh".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Mar 2022 14:00:03 +0100 |
parents | 3fc0f57ecb91 |
children | 82244cfc4694 |
line wrap: on
line source
" Vim color file " Maintainer: Yasuhiro Matsumoto <mattn@mail.goo.ne.jp> " Last Change: 2001 May 25 " This look like normal text editor. " This color scheme uses a light background. " First remove all existing highlighting. set background=light hi clear if exists("syntax_on") syntax reset endif let colors_name = "shine" hi Normal ctermbg=White ctermfg=Black guifg=Black guibg=White " Groups used in the 'highlight' and 'guicursor' options default value. hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red guifg=White hi IncSearch term=reverse cterm=reverse gui=reverse hi ModeMsg term=bold cterm=bold gui=bold hi StatusLine term=reverse,bold cterm=reverse,bold gui=reverse,bold hi StatusLineNC term=reverse cterm=reverse gui=reverse hi VertSplit term=reverse cterm=reverse gui=reverse hi Visual term=reverse cterm=reverse gui=reverse guifg=Grey guibg=fg hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red hi Cursor ctermbg=Green guibg=Green guifg=Black hi lCursor guibg=Cyan guifg=Black hi Directory term=bold ctermfg=LightRed guifg=Red hi LineNr term=underline ctermfg=Yellow guifg=Yellow hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen hi NonText term=bold ctermfg=LightBlue gui=bold guifg=LightBlue guibg=grey90 hi Question term=standout ctermfg=LightGreen gui=bold guifg=Green hi Search term=reverse ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black hi SpecialKey term=bold ctermfg=LightBlue guifg=Blue hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Magenta hi WarningMsg term=standout ctermfg=LightRed guifg=Red hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black hi Folded term=standout ctermbg=LightGrey ctermfg=DarkBlue guibg=LightGrey guifg=DarkBlue hi FoldColumn term=standout ctermbg=LightGrey ctermfg=DarkBlue guibg=Grey guifg=DarkBlue hi DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue hi DiffChange term=bold ctermbg=DarkMagenta guibg=DarkMagenta hi DiffDelete term=bold ctermfg=Blue ctermbg=DarkCyan gui=bold guifg=Blue guibg=DarkCyan hi Comment ctermfg=DarkGrey ctermbg=White guifg=DarkGrey gui=bold hi SpecialChar ctermfg=DarkGrey ctermbg=White guifg=DarkGrey gui=bold hi StorageClass ctermfg=Red ctermbg=White guifg=Red gui=bold hi Number ctermfg=LightRed ctermbg=White guifg=LightRed gui=bold " Groups for syntax highlighting hi Constant term=underline ctermfg=Magenta guifg=#a07070 guibg=grey80 hi Special term=bold ctermfg=LightRed guifg=DarkOrange guibg=grey80 if &t_Co > 8 hi Statement term=bold cterm=bold ctermfg=DarkGreen ctermbg=White guifg=#ffff60 gui=bold endif hi Ignore ctermfg=LightGrey guifg=grey90 " vim: sw=2