aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/digraph_search.vim6
-rw-r--r--plugin/digraph_search.vim2
2 files changed, 4 insertions, 4 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')
diff --git a/plugin/digraph_search.vim b/plugin/digraph_search.vim
index 1923eb2..9daeba2 100644
--- a/plugin/digraph_search.vim
+++ b/plugin/digraph_search.vim
@@ -16,4 +16,4 @@ let loaded_digraph_search = 1
" Set up mapping
inoremap <silent> <unique>
\ <Plug>(DigraphSearch)
- \ <C-O>:call digraph_search#Search()<CR>
+ \ <C-O>:call digraph_search#()<CR>