janus icon indicating copy to clipboard operation
janus copied to clipboard

Invalid ruby.vim syntax

Open leeeeeee opened this issue 8 years ago • 5 comments

I'm using the latest Janus in Zsh 5.2 on Mac OS (El Capitan). However, whenever I open a ruby file, new or old, I get the following warnings:

screen shot 2016-06-29 at 11 14 54 am

I had to take a screenshot because the warnings flashed before the file loaded and weren't scrollable in the terminal window. Janus is usable otherwise (as far as I can tell), but the warning message is rather annoying.

leeeeeee avatar Jun 29 '16 22:06 leeeeeee

+1

cweilemann avatar Jul 06 '16 16:07 cweilemann

I just pushed 933f5d043bdc8105f329d3733a5e8d677895a122 please run rake to update Janus, does it solve this problem?

kalbasit avatar Jul 07 '16 06:07 kalbasit

I actually got it working late last night by installing the homebrew version of vim... I'm guessing that it's likely because the OS X version of vim is lagging behind. The homebrew version of vim no longer has this problem.

I've uninstalled the homebrew version of vim, ran rake, and tried opening vim again and got the same error.

$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Apr  5 2016 14:53:37)

But with homebrew:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 30 2016 15:56:05)

It works.

cweilemann avatar Jul 07 '16 15:07 cweilemann

For reference, I've had this issue happen even when I was using the brew vim -- and I checked, it's VIM 7.4.

But anyway, I updated Janus, and as long as I actually invoke vim directly, I avoid the warning -- but if enter vi some_file.rb, then I get the warning, so I suppose at this point it's more of a local issue. Looks good now, thanks!

EDIT: And I've confirmed it -- when I vi a file and run :ve, it shows that it's version 7.3! Whereas vim's :ve reports 7.4.

leeeeeee avatar Jul 07 '16 23:07 leeeeeee

@cweilemann Thanks for the note there. That helped me out.

alvincrespo avatar Sep 18 '16 23:09 alvincrespo