[英]Vim shows python errors on exit
This seems to be output from vim-flake8
plugin. 这似乎是从
vim-flake8
插件输出的。 You probably need to uninstall or disable the plugin, or remove autocommand that runs flake8
on saving Python file. 您可能需要卸载或禁用该插件,或者删除在保存Python文件时运行
flake8
自动命令。
I cannot give more detailed answer — I need to see your .vimrc
and perhaps the content of .vim
directory. 我无法给出更详细的答案-我需要查看您的
.vimrc
以及.vim
目录的内容。
If you don't want to disable vim-flake8
but only want to get rid of its output on exit — add this to your .vimrc
: 如果您不想禁用
vim-flake8
而只想在退出时摆脱其输出,请将其添加到.vimrc
:
" automatically close quickfix if it's the only window left"
autocmd WinEnter * if winnr('$') == 1 && &buftype == "quickfix" | quit | endif
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.