rhysd / vim-grammarous

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

Buffer replaced with info window on GrammarCheck #94

Closed yamsu closed 4 years ago

yamsu commented 4 years ago

The issue is resolved! Details are provided for reference.

I'm using vim-8.2 with +python3

After running GrammarCheck the errors in the text are highlighted and on pressing any key the info window replaces the buffer. Pressing q closes the vim instance.

I tried the same this with let g:grammarous#hooks = {}. When I move the cursor over the highlighted text again the info window replaces the buffer. I can't go back to the buffer and q closes vim.

I have also added let g:grammarous#use_location_list=1 to my vimrc and with :lopen<cr> I can see the error list. The languageserver was installed by vim-grammar and was working correctly.

Eventually, I discovered the problem was with the following line in my vimrc set wildignore+=*/tmp/* Once I remove this line grammarous works like a charm. I can't remember why i added this line, but it was for the popular CtrlP plugin.

Hope this may be helpful to others.