Finally, this command helped :cq[uit] . So, after verbose logging, find \<cq\%[uit]\> .
Update: There are also ways to change the exit status using vim compiled with support for some interpreters: at least the following work:
python import sys python sys.exit(1) " (same for python3) perl exit 1
I do not know other languages ββto write here examples of code that will exit vim with a different exit status. Also note that such commands inside files received with :pyfile :rubyfile and others :*file should also work, as well as this code in modules not distributed using the plugin.
I think the most efficient way here is to disable the plugins until you find the source of the problem.
source share