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

Error detected while processing function xolox#luainspect#highlight_cmd..

Open MacGoever opened this issue 9 years ago • 4 comments

Hi,

I am new with lua and wanted some highlighting in vim. So I got the luainspect and the misc packege and installed them like the Infofiles told me. When I open any .lua file, I get this on a regular basis: Error detected while processing function

xolox#luainspect#highlight_cmd..xolox#luainspect#make_request..<SNR>22_parse_text:` line 12: E605: Exception not caught: luainspect.vim 0.5.2: Failed to execute LuaInspect as external process! Use ':verbose LuaInspect' to see the command line of the external process. Press ENTER or type command to continue Error detected while processing function xolox#luainspect#highlight_cmd: line 9: E171: Missing :endif

The highlighting works as it highlights Strings/Digits, Keywords and known commands. As I know nothing about vim plugins I am lost in how to solve this.

MacGoever avatar Feb 21 '16 19:02 MacGoever

This issue has not been resolved. Looking at the .vim files, I can't seem to find where the issue is, but I similarly don't really know anything at all about this to be able to fix it.

EquusRaphanus avatar Feb 03 '21 08:02 EquusRaphanus

Same error in luainspect 0.5.4

It's making the plugin practically unusable. Please help.

codeRSH avatar Aug 29 '21 10:08 codeRSH

I have the same problem. Please fix.

vnbubba avatar Sep 29 '21 20:09 vnbubba

Adding following option in vimrc worked for me !!

let g:loaded_luainspect = 1

Also check if both lua and luac are installed.

saurabh10041998 avatar Feb 06 '24 16:02 saurabh10041998