Hello:

I'm not knowingly using lambdas. I'm trying to debug some netrw code and I keep ending up with the following error:

." is a directory
Error detected while processing VimEnter Autocommands for "*"..function <SNR>72_VimEnter[15]..<lambda>1[1]..<SNR>72_LocalBrowse[32]..netrw#LocalBrowseCheck:
line   26:
E171: Missing :endif
Press ENTER or type command to continue

There are no mismatched if-endif s in netrwPlugin.vim (LocalBrowse). The error appears to occur early in netrw#LocalBrowseCheck; early enough that I can visuallly verify that there aren't any mismatched if-elseif-endifs there, either. I have Decho-style debugging on in netrw.vim but not in netrwPlugin.vim.

It appears that the message is incorrect. By putting Decho()s into the code, I've narrowed down where the error appears to occur: redir @a . The command I'm interested in hasn't even run yet (ls!). Any hints?

Chip Campbell

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/b1c3fd18-b2cd-3f26-ee2c-c0450f6f0d59%40drchip.org.

Raspunde prin e-mail lui