Re: Problem with netrw and diffing files
On 15/02/14 19:14, Felix Herrmann wrote: if exists(s:netrwmarkfilelist_{.curbufnr}) . I guess it's enough to just remove the . in the middle of that line. It certainly makes the md-feature work on my box again. If you remove the . from the middle it becomes like this: if exists(s:netrwmarkfilelist_{ curbufnr }) While the error disappears, this is probably not what was originally intended. Instead, I think it was meant to look like this: if exists(s:netrwmarkfilelist_{.curbufnr.}) i.e., the contents of the variable curbufnr are concatenated with the strings s:netrwmarkfilelist_{ and } to create a new variable name e.g. s:netrwmarkfilelist_{3} Best consult the plugin's current maintainer in this kind of situation. -- -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Problem with netrw and diffing files
Felix Herrmann wrote: Hey folks :) I just stumbled upon a problem with netrw (which truly is great btw. I mean netrw is great. The problem: not so much ;) ) and making diffs. When I use netrw and mark two files, and then do md to diff them, I always get: Error detected while processing function SNR84_NetrwMarkFileDiff: line 12: E116: Invalid arguments for function exists(s:netrwmarkfilelist_{.curbufnr}) E15: Invalid expression: exists(s:netrwmarkfilelist_{.curbufnr}) And indeed, line 5853 of autoload/netrw.vim in the current mercurial checkout of vim's source doesn't look right to me. The line is: if exists(s:netrwmarkfilelist_{.curbufnr}) snip Thank you! I'll be putting v151b of netrw up shortly with that fixed. Regards, 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. For more options, visit https://groups.google.com/groups/opt_out.