aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-29 13:25:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-29 13:25:21 +1200
commitc00622ab9e0be59d8ac4b6b8f6e366e0bfa8e337 (patch)
tree7cf03cb26780244663cece4c88e77762cd44cdc7 /autoload
parentMerge branch 'release/v0.2.0' into develop (diff)
downloadvim-digraph-search-c00622ab9e0be59d8ac4b6b8f6e366e0bfa8e337.tar.gz
vim-digraph-search-c00622ab9e0be59d8ac4b6b8f6e366e0bfa8e337.zip
Adjust function visibility
Diffstat (limited to 'autoload')
-rw-r--r--autoload/digraph_search.vim6
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')