Mercurial > vim
view runtime/syntax/whitespace.vim @ 34312:737023edd0a5 v9.1.0090
patch 9.1.0090: Assigning wrong colors when parsing terminal OSC response
Commit: https://github.com/vim/vim/commit/45932c5c4a9ec01f7c2aa09b1574430853dafb4b
Author: Maxim Kim <habamax@gmail.com>
Date: Fri Feb 9 23:11:54 2024 +0100
patch 9.1.0090: Assigning wrong colors when parsing terminal OSC response
Problem: Assigning wrong colors when parsing terminal OSC response
Solution: Correctly assign Green and Blue from the terminal response
(Maxim Kim)
closes: #13981
Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Feb 2024 23:15:04 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
" Simplistic way to make spaces and Tabs visible " This can be added to an already active syntax. syn match Space " " syn match Tab "\t" if &background == "dark" hi def Space ctermbg=darkred guibg=#500000 hi def Tab ctermbg=darkgreen guibg=#003000 else hi def Space ctermbg=lightred guibg=#ffd0d0 hi def Tab ctermbg=lightgreen guibg=#d0ffd0 endif