xolox / vim-lua-ftplugin

Lua file type plug-in for the Vim text editor
http://peterodding.com/code/vim/lua-ftplugin
187 stars 27 forks source link

complete omni doesn't complete modules #52

Open aganm opened 4 years ago

aganm commented 4 years ago

I set lua_complete_omni let g:lua_complete_omni = 1

In my lua file, I require a module require "my_module"

I type but no autocomplete for my module. my_module.func()

If I run my script in lua, it executes fine, it detects the module. But no autocomplete whatsoever.