summaryrefslogtreecommitdiffstats
path: root/runtime/colors
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-27 10:57:26 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-27 10:57:26 +0000
commit6304be625ce44dcfedc6735164d0b853578581c8 (patch)
treedb8bb5f50af170304917f08bbc78236cfe354bed /runtime/colors
parent7824fc80f675b8098e6483ce082e287aad14b6da (diff)
Update runtime files.
Diffstat (limited to 'runtime/colors')
-rw-r--r--runtime/colors/tools/check_colors.vim14
1 files changed, 10 insertions, 4 deletions
diff --git a/runtime/colors/tools/check_colors.vim b/runtime/colors/tools/check_colors.vim
index b0146cc677..0d8936042e 100644
--- a/runtime/colors/tools/check_colors.vim
+++ b/runtime/colors/tools/check_colors.vim
@@ -226,7 +226,13 @@ fu! Result(err)
endif
endfu
-call Test_check_colors()
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
+try
+ call Test_check_colors()
+catch
+ echohl ErrorMsg
+ echomsg v:exception
+ echohl NONE
+finally
+ let &cpo = s:save_cpo
+ unlet s:save_cpo
+endtry