vim-lua-ftplugin icon indicating copy to clipboard operation
vim-lua-ftplugin copied to clipboard

freeze when complete awesome's awful module (edit: support exclude list?)

Open lilydjwg opened this issue 13 years ago • 2 comments

With the awesome window manager installed, open /etc/xdg/awesome/rc.lua and type awful., where the last dot triggers completion, my gvim just freezes and strace shows that it hangs on a futex system call.

lilydjwg avatar Apr 03 '12 15:04 lilydjwg

This concerns omni-completion right? From the readme:

The 'omnifunc' option is set to allow dynamic completion of the variables defined in all modules installed on the system using Control-X Control-O, however it needs to be explicitly enabled by setting the lua_complete_omni option because this functionality may have undesired side effects!

I've seen hangs on the futex system call with other modules as well. The best I can do is to allow for an exclude list of "known to misbehave" modules on the module search path.

xolox avatar May 12 '13 16:05 xolox

For future readers, that blacklist is lua_omni_blacklist.

idbrii avatar Aug 11 '17 18:08 idbrii