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

Unclear dependency on luarefvim #45

Open idbrii opened 7 years ago

idbrii commented 7 years ago

I didn't understand what was going wrong when I tried to use K on lua functions.

I had to dig into the code to figure out that I needed luarefvim (or even better, the monkoose/luarefvim fork since it puts the syntax file in the right place).

Would be nice if using K gave an error ("Lua help requires the luarefvim vim plugin") if it failed to lookup the term instead of showing help.txt.