janus
janus copied to clipboard
Invalid ruby.vim syntax
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:

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.
+1
I just pushed 933f5d043bdc8105f329d3733a5e8d677895a122 please run rake
to update Janus, does it solve this problem?
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.
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.
@cweilemann Thanks for the note there. That helped me out.