Mercurial > vim
view runtime/colors/elflord.vim @ 27392:ec2ba9acec1b v8.2.4224
patch 8.2.4224: Vim9: no error when using a number for map() second argument
Commit: https://github.com/vim/vim/commit/1080c48ec8d672d7e9fbefb5a1255c9df09a2884
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 26 18:26:21 2022 +0000
patch 8.2.4224: Vim9: no error when using a number for map() second argument
Problem: Vim9: no error when using a number for map() second argument
Solution: Disallow number to string conversion. (closes https://github.com/vim/vim/issues/9630)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Jan 2022 19:30:03 +0100 |
parents | 3fc0f57ecb91 |
children | 82244cfc4694 |
line wrap: on
line source
" local syntax file - set colors on a per-machine basis: " vim: tw=0 ts=4 sw=4 " Vim color file " Maintainer: Ron Aaron <ron@ronware.org> " Last Change: 2003 May 02 set background=dark hi clear if exists("syntax_on") syntax reset endif let g:colors_name = "elflord" hi Normal guifg=cyan guibg=black hi Comment term=bold ctermfg=DarkCyan guifg=#80a0ff hi Constant term=underline ctermfg=Magenta guifg=Magenta hi Special term=bold ctermfg=DarkMagenta guifg=Red hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff hi Statement term=bold ctermfg=Yellow gui=bold guifg=#aa4444 hi PreProc term=underline ctermfg=LightBlue guifg=#ff80ff hi Type term=underline ctermfg=LightGreen guifg=#60ff60 gui=bold hi Function term=bold ctermfg=White guifg=White hi Repeat term=underline ctermfg=White guifg=white hi Operator ctermfg=Red guifg=Red hi Ignore ctermfg=black guifg=bg hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=White hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Blue guibg=Yellow " Common groups that link to default highlighting. " You can specify other highlighting easily. hi link String Constant hi link Character Constant hi link Number Constant hi link Boolean Constant hi link Float Number hi link Conditional Repeat hi link Label Statement hi link Keyword Statement hi link Exception Statement hi link Include PreProc hi link Define PreProc hi link Macro PreProc hi link PreCondit PreProc hi link StorageClass Type hi link Structure Type hi link Typedef Type hi link Tag Special hi link SpecialChar Special hi link Delimiter Special hi link SpecialComment Special hi link Debug Special