From 6f71e12b8530a89bdc9f949cb70589d5289df350 Mon Sep 17 00:00:00 2001 From: itchyny Date: Wed, 19 Nov 2014 10:25:23 +0900 Subject: [PATCH] remove unnecessary exception throw --- autoload/lightline/colortable.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/lightline/colortable.vim b/autoload/lightline/colortable.vim index c61e7fd..727161e 100644 --- a/autoload/lightline/colortable.vim +++ b/autoload/lightline/colortable.vim @@ -3,7 +3,7 @@ " Version: 0.0 " Author: itchyny " License: MIT License -" Last Change: 2014/06/17 11:31:14. +" Last Change: 2014/11/18 09:52:16. " ============================================================================= let s:save_cpo = &cpo @@ -32,7 +32,6 @@ function! lightline#colortable#gui2cui(rgb, fallback) if len(rgb) == 0 let rgb = lightline#colortable#name_to_rgb(a:rgb) if len(rgb) == 0 - throw a:rgb return a:fallback % 128 endif endif