Mercurial > vim
view runtime/colors/morning.vim @ 27784:bfce04a99561 v8.2.4418
patch 8.2.4418: crash when using special multi-byte character
Commit: https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 19 11:20:12 2022 +0000
patch 8.2.4418: crash when using special multi-byte character
Problem: Crash when using special multi-byte character.
Solution: Don't use isalpha() for an arbitrary character.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Feb 2022 12:30:04 +0100 |
parents | f24a95dae8ee |
children | 82244cfc4694 |
line wrap: on
line source
" Vim color file " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2006 Apr 15 " This color scheme uses a light grey background. " First remove all existing highlighting. set background=light hi clear if exists("syntax_on") syntax reset endif let colors_name = "morning" hi Normal ctermfg=Black ctermbg=LightGrey guifg=Black guibg=grey90 " 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 ctermbg=grey guibg=grey80 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 guibg=Green guifg=NONE hi lCursor guibg=Cyan guifg=NONE hi Directory term=bold ctermfg=DarkBlue guifg=Blue hi LineNr term=underline ctermfg=Brown guifg=Brown hi MoreMsg term=bold ctermfg=DarkGreen gui=bold guifg=SeaGreen hi NonText term=bold ctermfg=Blue gui=bold guifg=Blue guibg=grey80 hi Question term=standout ctermfg=DarkGreen gui=bold guifg=SeaGreen hi Search term=reverse ctermbg=Yellow ctermfg=NONE guibg=Yellow guifg=NONE hi SpecialKey term=bold ctermfg=DarkBlue guifg=Blue hi Title term=bold ctermfg=DarkMagenta gui=bold guifg=Magenta hi WarningMsg term=standout ctermfg=DarkRed guifg=Red hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black hi Folded term=standout ctermbg=Grey ctermfg=DarkBlue guibg=LightGrey guifg=DarkBlue hi FoldColumn term=standout ctermbg=Grey ctermfg=DarkBlue guibg=Grey guifg=DarkBlue hi DiffAdd term=bold ctermbg=LightBlue guibg=LightBlue hi DiffChange term=bold ctermbg=LightMagenta guibg=LightMagenta hi DiffDelete term=bold ctermfg=Blue ctermbg=LightCyan gui=bold guifg=Blue guibg=LightCyan hi CursorLine term=underline cterm=underline guibg=grey80 hi CursorColumn term=reverse ctermbg=grey guibg=grey80 " Colors for syntax highlighting hi Constant term=underline ctermfg=DarkRed guifg=Magenta guibg=grey95 hi Special term=bold ctermfg=DarkMagenta guifg=SlateBlue guibg=grey95 if &t_Co > 8 hi Statement term=bold cterm=bold ctermfg=Brown gui=bold guifg=Brown endif hi Ignore ctermfg=LightGrey guifg=grey90 " vim: sw=2