Mercurial > vim
view runtime/colors/pablo.vim @ 26792:30d8377ea1b1 v8.2.3924
patch 8.2.3924: Vim9: no error if something follows :enddef
Commit: https://github.com/vim/vim/commit/7473a84cf935f64ddd4ea7fe7eee0f9c51c50b60
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 28 17:55:26 2021 +0000
patch 8.2.3924: Vim9: no error if something follows :enddef
Problem: Vim9: no error if something follows :enddef in a nested function.
Solution: Give an error. Move common code to a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Dec 2021 19:00:05 +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 hi clear set background=dark if exists("syntax_on") syntax reset endif let g:colors_name = "pablo" highlight Comment ctermfg=8 guifg=#808080 highlight Constant ctermfg=14 cterm=none guifg=#00ffff gui=none highlight Identifier ctermfg=6 guifg=#00c0c0 highlight Statement ctermfg=3 cterm=bold guifg=#c0c000 gui=bold highlight PreProc ctermfg=10 guifg=#00ff00 highlight Type ctermfg=2 guifg=#00c000 highlight Special ctermfg=12 guifg=#0000ff highlight Error ctermbg=9 guibg=#ff0000 highlight Todo ctermfg=4 ctermbg=3 guifg=#000080 guibg=#c0c000 highlight Directory ctermfg=2 guifg=#00c000 highlight StatusLine ctermfg=11 ctermbg=12 cterm=none guifg=#ffff00 guibg=#0000ff gui=none highlight Normal guifg=#ffffff guibg=#000000 highlight Search ctermbg=3 guibg=#c0c000