The options g:lua_complete_library and g:lua_complete_dynamic interfere with YouCompleteMe etc: the automatic popup from YCM appears, gets closed and the word is being reset. The popup menu gets closed.
Took me a good amount of frustration to dig into what's causing this strange behavior.
FWIW, these are the settings I am currently using:
let g:lua_check_syntax = 0 " done via syntastic
let g:lua_define_omnifunc = 0 " must be enabled also (g:lua_complete_omni=1, but crashes Vim!)
let g:lua_complete_library = 0 " interferes with YouCompleteMe
let g:lua_complete_dynamic = 0 " interferes with YouCompleteMe
The options
g:lua_complete_library
andg:lua_complete_dynamic
interfere with YouCompleteMe etc: the automatic popup from YCM appears, gets closed and the word is being reset. The popup menu gets closed.The problem is probably, that the completion (e.g.
<C-x><C-o>
, see https://github.com/xolox/vim-lua-ftplugin/blob/master/autoload/xolox/lua.vim#L436-440) should not get done ifpumvisible()
is true.Took me a good amount of frustration to dig into what's causing this strange behavior.
FWIW, these are the settings I am currently using:
let g:lua_check_syntax = 0 " done via syntastic let g:lua_define_omnifunc = 0 " must be enabled also (g:lua_complete_omni=1, but crashes Vim!) let g:lua_complete_library = 0 " interferes with YouCompleteMe let g:lua_complete_dynamic = 0 " interferes with YouCompleteMe