From a6e07b6a55a43efba179e58effcbe6766731d9da Mon Sep 17 00:00:00 2001 From: Hana Shiro Date: Sat, 2 Jun 2018 14:04:25 +0800 Subject: [PATCH] Remove unused catch block --- autoload/airline/extensions/tabline/ctrlspace.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/airline/extensions/tabline/ctrlspace.vim b/autoload/airline/extensions/tabline/ctrlspace.vim index 6eaf68e..75a6e7e 100644 --- a/autoload/airline/extensions/tabline/ctrlspace.vim +++ b/autoload/airline/extensions/tabline/ctrlspace.vim @@ -99,9 +99,8 @@ function! airline#extensions#tabline#ctrlspace#get() try call airline#extensions#tabline#tabs#map_keys() - catch - " no-op endtry + let s:tab_list = ctrlspace#api#TabList() for tab in s:tab_list if tab.current