aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/tabs_grep.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/tabs_grep.vim b/plugin/tabs_grep.vim
index 8860ad1..35a00fa 100644
--- a/plugin/tabs_grep.vim
+++ b/plugin/tabs_grep.vim
@@ -4,8 +4,9 @@ function! TabsGrep(search)
silent tabs
redir END
- let tabs = split(tabs_output)
+ let tabs = split(tabs_output, '\n')
+ echo tabs
call filter(tabs, function('s:MatchString', [a:search]))
echo tabs