vim-lua-ftplugin
vim-lua-ftplugin copied to clipboard
Can't get neocomplete working with custom modules.
I'm trying to contribute to the following project; Hammerspoon
They have an "extensions" folder that contains all of the main lua modules. I'm basically trying to get completion for those modules. This is what I'm getting;

It's working with the standard modules;

For my lua settings, all I have is this;
let g:lua_check_syntax = 0
let g:lua_complete_omni = 1
I haven't done much in the way of neocomplete settings, this is just a preliminary regex to test it out;
let g:neocomplete#sources#omni#input_patterns.lua = '[^. \t]:\w*'
I appreciate the help and nice plugin!
What is your $LUA_PATH set to? Does it include Hammerspoon's folders? If not, set it to include those folders.