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

Can't get neocomplete working with custom modules.

Open JosephFerano opened this issue 10 years ago • 1 comments

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;

img

It's working with the standard modules; img

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!

JosephFerano avatar Apr 03 '15 17:04 JosephFerano

What is your $LUA_PATH set to? Does it include Hammerspoon's folders? If not, set it to include those folders.

stormc avatar Apr 13 '15 17:04 stormc