commit fcd908791b82de98bb0b70e4e5b22748a5b6aa96
parent 77bc1b709bf88eec68ab5466a40732ed30b605f8
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Wed, 30 Jul 2014 21:46:22 +0200
Function names must start with s: or capital letter
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ftplugin/vimwiki.vim b/ftplugin/vimwiki.vim
@@ -48,7 +48,7 @@ let g:vimwiki_media_bold_match = '''''''__Text__'''''''
" ^- looks strange, but is equivalent to "'''__Text__'''" but since we later
" want to call escape() on this string, we must keep it in single quotes
-function! g:complete_wikifiles(findstart, base)
+function! Complete_wikifiles(findstart, base)
if a:findstart == 1
let column = col('.')-1
let line = getline('.')[:column]
@@ -170,7 +170,7 @@ function! g:complete_wikifiles(findstart, base)
endif
endif
endfunction
-setlocal omnifunc=g:complete_wikifiles
+setlocal omnifunc=Complete_wikifiles
" omnicomplete }}}
" MISC }}}