diff options
Diffstat (limited to 'autoload/digraph_search.vim')
-rw-r--r-- | autoload/digraph_search.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/digraph_search.vim b/autoload/digraph_search.vim index 46b10a3..bae4973 100644 --- a/autoload/digraph_search.vim +++ b/autoload/digraph_search.vim @@ -1,5 +1,5 @@ " Search for digraphs -function! digraph_search#Search() abort +function! digraph_search#() abort " Get the search string let search = input('Digraph search: ') @@ -9,7 +9,7 @@ function! digraph_search#Search() abort " Look for the uppercased search in the table let results = [] - for digraph in digraph_search#Digraphs() + for digraph in s:Digraphs() if stridx(digraph['name'], toupper(search)) != -1 call add(results, digraph) endif @@ -31,7 +31,7 @@ function! digraph_search#Search() abort endfunction " Get private memoized list of digraph dictionary objects -function! digraph_search#Digraphs() abort +function! s:Digraphs() abort " We haven't been called yet; get the digraph list if !exists('s:digraphs') |