I am trying to install the vim-grammarous plugin for Vim 8.0.1453. I have cloned the repo into my .vim/plugin directory.
Now every time I open Vim I get an error message which also occurs when I try to use the plugin.
Error detected while processing ~/.vim/plugin/vim-grammarous/autoload/grammarous.vim:
line 4:
E117: Unknown function: vital#grammarous#new
E15: Invalid expression: vital#grammarous#new()
line 5:
E121: Undefined variable: s:V
E15: Invalid expression: s:V.import('Web.XML')
line 6:
E121: Undefined variable: s:V
E15: Invalid expression: s:V.import('OptionParser')
line 7:
E121: Undefined variable: s:V
E15: Invalid expression: s:V.import('Process')
line 501:
E121: Undefined variable: s:O
E15: Invalid expression: s:O.new().on('--lang=VALUE', 'language to check',
{'default' : g:grammarous#default_lang}).on('--[no-]preview',
'enable auto preview', {'default' : 1}).on('--[no-]comments-only',
'check comment only', {'default' : ''}).on('--[no-]move-to-first-error',
'move to first error', {'default' : g:grammarous#move_to_first_error}).on('--
reinstall-languagetool', 'reinstall LanguageTool', {'default' : 0})
Press ENTER or type command to continue
How can I get vim-grammarous to work?