diff --git a/plugin/thematic.vim b/plugin/thematic.vim index ce58b88..98e0a75 100644 --- a/plugin/thematic.vim +++ b/plugin/thematic.vim @@ -47,7 +47,8 @@ if !exists('g:thematic#themes') endif function! chooseTheme(ArgLead, CmdLine, CursorPos) - return sort(keys(g:thematic#themes)) + return filter(sort(keys(g:thematic#themes)), + \ "stridx(v:val,'".a:ArgLead."') == 0") endfunction " Commands