Mercurial > vim
comparison runtime/colors/tools/check_colors.vim @ 21825:0db0640e16e0
Update runtime files.
Commit: https://github.com/vim/vim/commit/3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 15 18:55:18 2020 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Aug 2020 19:00:04 +0200 |
parents | 072ae5089541 |
children | bb2175e5ccee |
comparison
equal
deleted
inserted
replaced
21824:91c90e53de36 | 21825:0db0640e16e0 |
---|---|
183 call cursor(1,1) | 183 call cursor(1,1) |
184 endfor | 184 endfor |
185 | 185 |
186 " 9) Normal should be defined first, not use reverse, fg or bg | 186 " 9) Normal should be defined first, not use reverse, fg or bg |
187 call cursor(1,1) | 187 call cursor(1,1) |
188 let pat = 'hi\%[light] \+\%(link\|clear\)\@!\w\+\>' | 188 let pat = 'hi\%[ghlight] \+\%(link\|clear\)\@!\w\+\>' |
189 call search(pat, 'cW') " Look for the first hi def, skipping `hi link` and `hi clear` | 189 call search(pat, 'cW') " Look for the first hi def, skipping `hi link` and `hi clear` |
190 if getline('.') !~# '\m\<Normal\>' | 190 if getline('.') !~# '\m\<Normal\>' |
191 let err['highlight']['Normal'] = 'Should be defined first' | 191 let err['highlight']['Normal'] = 'Should be defined first' |
192 elseif getline('.') =~# '\m\%(=\%(fg\|bg\)\)' | 192 elseif getline('.') =~# '\m\%(=\%(fg\|bg\)\)' |
193 let err['highlight']['Normal'] = "Should not use 'fg' or 'bg'" | 193 let err['highlight']['Normal'] = "Should not use 'fg' or 'bg'" |