rhysd / vim-grammarous

A powerful grammar checker for Vim using LanguageTool.
1.1k stars 41 forks source link

E461: Illegal variable name: s:grammarous#root #64

Closed oblitum closed 6 years ago

oblitum commented 6 years ago

Commit a8d672e is leading to this:

Messages maintainer: Bram Moolenaar <Bram@vim.org>
Error detected while processing /home/francisco/.vim/plugged/vim-grammarous/autoload/grammarous.vim:
line   12:
E461: Illegal variable name: s:grammarous#root
line   13:
E121: Undefined variable: s:grammarous#root
E116: Invalid arguments for function get(g:, 'grammarous#jar_dir', s:grammarous#root . '/misc')
E15: Invalid expression: get(g:, 'grammarous#jar_dir', s:grammarous#root . '/misc')
Error detected while processing function grammarous#check_current_buffer[23]..<SNR>212_invoke_check[2]..<SNR>212_init:
line   13:
E121: Undefined variable: g:grammarous#jar_dir
E116: Invalid arguments for function s:prepare_jar(g:grammarous#jar_dir)
E15: Invalid expression: s:prepare_jar(g:grammarous#jar_dir)
line   14:
E121: Undefined variable: jar
E15: Invalid expression: jar ==# ''
line   23:
E121: Undefined variable: jar
E15: Invalid expression: jar
line   24:
E121: Undefined variable: jar
E15: Invalid expression: jar
rhysd commented 6 years ago

This must be a bug of the recent change. I will fix this.

rhysd commented 6 years ago

I addressed this at 365a772. Please update to the latest

oblitum commented 6 years ago

All right, thanks.