Commits

Preston M. committed d433c9f

fix: complete func name

Comments (0)

Files changed (2)

plugin/vimrepress.py

     else:
         vim.command(":new")
     vim.command('setl syntax=blogsyntax')
-    vim.command('setl completefunc=Completable')
+    vim.command('setl completefunc=vimrepress#CateComplete')
 
 
 @vim_encoding_check

plugin/vimrepress.vim

   return "post\npage\ncategory\n"
 endfunction
 
-function! s:Completable(findstart, base)
+function! vimrepress#CateComplete(findstart, base)
   if a:findstart
     " locate the start of the word
     let line = getline('.')