Feature: Emoji support conceal and complete

This commit is contained in:
Tinmarino
2020-08-07 02:29:47 -04:00
parent 0693e41132
commit aa628f8a12
6 changed files with 2468 additions and 5 deletions

View File

@ -110,7 +110,12 @@ function! Complete_wikifiles(findstart, base) abort
endif
endfunction
" Set completion
setlocal omnifunc=Complete_wikifiles
if and(vimwiki#vars#get_global('emoji_enable'), 2) != 0
\ && &completefunc ==# ''
set completefunc=vimwiki#emoji#complete
endif
" Declare settings necessary for the automatic formatting of lists