Mercurial > vim
view runtime/syntax/whitespace.vim @ 27247:0667f71ec335 v8.2.4152
patch 8.2.4152: block insert with double wide character fails
Commit: https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 20 12:22:35 2022 +0000
patch 8.2.4152: block insert with double wide character fails
Problem: Block insert with double wide character fails.
Solution: Adjust the expected output.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Jan 2022 13:30: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