Problems with Vim 7.2

24 views
Skip to first unread message

Mike Ciul

unread,
Apr 6, 2017, 11:49:43 AM4/6/17
to vim-syntastic
I am using Vim 7.2 on a system where I don't have permission to upgrade to a newer version. When I install Systastic via Vundle, it appears to be fine, but whenever I begin editing a new file, I see something like this:


Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    1:
E118: Too many arguments for function: globpath
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    1:
E15: Invalid expression: globpath(&runtimepath, 'autoload/vimlparser.vim', 1)
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    2:
E118: Too many arguments for function: globpath
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    2:
E15: Invalid expression: globpath(&runtimepath, 'autoload/vimlint.vim', 1)
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    3:
E121: Undefined variable: vimlparser
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    3:
E116: Invalid arguments for function string(vimlparser) . ', ' . "globpath(&runtimepath, 'autoload/vimlint.vim', 1) = " .    string(vimlint))
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    3:
E116: Invalid arguments for function 21
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    5:
E121: Undefined variable: vimlparser
Error detected while processing function <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
line    5:
E15: Invalid expression: vimlparser !=# '' && vimlint !=# ''

Can this be fixed? I miss my Syntastic!

LCD 47

unread,
Apr 6, 2017, 12:07:19 PM4/6/17
to Mike Ciul, vim-syntastic
On 6 April 2017, Mike Ciul <ciul...@gmail.com> wrote:
> I am using Vim 7.2 on a system where I don't have permission to upgrade to
> a newer version. When I install Systastic via Vundle, it appears to be
> fine, but whenever I begin editing a new file, I see something like this:
>
>
> Error detected while processing function
> > <SNR>34_VimEnterHook..<SNR>34_UpdateErrors..<SNR>34_CacheErrors..23..SyntaxCheckers_vim_vimlint_IsAvailable:
> > line 1:
> > E118: Too many arguments for function: globpath
[...]
> >
>
> Can this be fixed? I miss my Syntastic!

You mean you're actually trying to _use_ syntastic with a version of
Vim from 2008? :)

Ok, please upgrade to 5d9a0bc3, and let me know how / if it works.

/lcd

Mike Ciul

unread,
Apr 6, 2017, 2:10:07 PM4/6/17
to Mike Ciul, vim-syntastic
I really appreciate your help! That seems to have stopped the errors on my Linux machine at work (where I can't upgrade vim), though I don't see any signs that Syntastic is doing anything - I tried creating a Ruby file with bad syntax and I didn't get any gutter signs.

Unfortunately, on my Mac with the same version of Syntastic installed, I am now getting these errors when I open a file:

Error detected while processing /Users/mike/.vim/bundle/vim-ruby/syntax/ruby.vim:

line  113:

E59: invalid character after \@

E475: Invalid argument: rubyASCIICode "\%(\w\|[]})\"'/]\)\@1<!\%(?\%(\\M-\\C-\|\\C-\\M-\|\\M-\\c\|\\c\\M-\|\\c\|\\C-\|\\M-\)\=\%(\\\o\{1,3}\|\\x\x\{1,2}\|\\\=\S\)\)"

line  129:

E59: invalid character after \@

E475: Invalid argument: rubySymbol^I^I"[]})\"':]\@1<!:\%(\^\|\~@\|\~\|<<\|<=>\|<=\|<\|===\|[=!]=\|[=!]\~\|!@\|!\|>>\|>=\|>\||\|-@\|-\|/\|\[]=\|\[]\|\*\*\|\*\|&\|%\|+@\|+\|`\)"

line  130:

E59: invalid character after \@

E475: Invalid argument: rubySymbol^I^I"[]})\"':]\@1<!:\$\%(-.\|[`~<=>_,;:!?/.'"@$*\&+0]\)"

line  131:

E59: invalid character after \@

E475: Invalid argument: rubySymbol^I^I"[]})\"':]\@1<!:\%(\$\|@@\=\)\=\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*"

line  132:

E59: invalid character after \@

E475: Invalid argument: rubySymbol^I^I"[]})\"':]\@1<!:\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*\%([?!=]>\@!\)\="

line  135:

E59: invalid character after \@

E475: Invalid argument: rubySymbol^I^Istart="[]})\"':]\@1<!:'"  end="'"  skip="\\\\\|\\'"  contains=rubyQuoteEscape fold

line  145:

E59: invalid character after \@

E475: Invalid argument: rubyBlockParameterList start="\%(\%(\<do\>\|{\)\_s*\)\@32<=|" end="|" oneline display contains=rubyBlockParameter

line  317:

E59: invalid character after \@

E475: Invalid argument: rubyFunction "\%(\s\|^\)\@1<=[_[:alpha:]][_[:alnum:]]*[?!=]\=\%(\s\|$\)\@=" contained containedin=rubyAliasDeclaration,rubyAliasDeclaration2

line  318:

E59: invalid character after \@

E475: Invalid argument: rubyFunction "\%([[:space:].]\|^\)\@2<=\%(\[\]=\=\|\*\*\|[-+!~]@\=\|[*/%|&^~]\|<<\|>>\|[<>]=\=\|<=>\|===\|[=!]=\|[=!]\~\|!\|`\)\%([[:space:];#(]\|$\)\@=" contained containedin=rubyAlia

sDeclaration,rubyAliasDeclaration2,rubyMethodDeclaration

line  398:

E59: invalid character after \@

E475: Invalid argument: rubyConditionalExpression matchgroup=rubyConditional start="\%(\%(^\|\.\.\.\=\|[{:,;([<>~\*%&^|+=-]\|\%(\<[_[:lower:]][_[:alnum:]]*\)\@<![?!]\)\s*\)\@<=\%(if\|unless\)\>" end="\%(\%(\%

(\.\@1<!\.\)\|::\)\s*\)\@<!\<end\>" contains=ALLBUT,@rubyNotTop fold

line  459:

E59: invalid character after \@

E475: Invalid argument: rubyKeywordAsMethod "\%(\%(\.\@1<!\.\)\|::\)\_s*\%([_[:lower:]][_[:alnum:]]*\|\<\%(BEGIN\|END\)\>\)" transparent contains=NONE

line  464:

E59: invalid character after \@

E475: Invalid argument: rubySymbol^I^I"[]})\"':]\@1<!\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*[!?]\=:[[:space:],]\@="he=e-1

LCD 47

unread,
Apr 6, 2017, 2:18:39 PM4/6/17
to Mike Ciul, vim-syntastic
On 6 April 2017, Mike Ciul <ciul...@gmail.com> wrote:
> I really appreciate your help! That seems to have stopped the errors
> on my Linux machine at work (where I can't upgrade vim), though
> I don't see any signs that Syntastic is doing anything - I tried
> creating a Ruby file with bad syntax and I didn't get any gutter
> signs.

I recommend you to invest a few minutes in reading the manual. It
can save you a lot of time.

> Unfortunately, on my Mac with the same version of Syntastic installed,
> I am now getting these errors when I open a file:
>
> Error detected while processing
> /Users/mike/.vim/bundle/vim-ruby/syntax/ruby.vim:
>
> line 113:
>
> E59: invalid character after \@
[...]

I'm not sure why do you think this has anything to do with
syntastic.

/lcd

Mike Ciul

unread,
Apr 6, 2017, 2:26:40 PM4/6/17
to Mike Ciul, vim-syntastic
ok, syntastic is definitely working on my linux machine. I'll look into the vim-ruby problem separately.
Reply all
Reply to author
Forward
0 new messages