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

Allow blacklisting of require()'d modules while omni completion loading #21

Closed stormc closed 10 years ago

stormc commented 10 years ago

In reference to #12, allow particular modules causing side effects to be excluded from omni completion candidates loading via regex-based blacklisting.

xolox commented 10 years ago

Hi stormc and thanks for the pull request. I implemented the feature you suggested although my implemention is a bit different from yours, tackling the problem at the root cause (where the modules are collected). Also I renamed the option to simply lua_omni_blacklist. Happy Vimming!