Mercurial > vim
view runtime/colors/pablo.vim @ 27156:67194006cad8 v8.2.4107
patch 8.2.4107: script context not restored after using <ScriptCmd>
Commit: https://github.com/vim/vim/commit/a9725221ac4650b7e9219bf6e3682826fe2e0096
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 16 13:30:33 2022 +0000
patch 8.2.4107: script context not restored after using <ScriptCmd>
Problem: Script context not restored after using <ScriptCmd>.
Solution: Also restore context when not in a script. (closes https://github.com/vim/vim/issues/9536)
Add the 'c' flag to feedkeys() to be able to test this.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jan 2022 14:45: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 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