asyncrun.vim icon indicating copy to clipboard operation
asyncrun.vim copied to clipboard

错误的‘\’,在1871行

Open zhang-stephen opened this issue 5 years ago • 6 comments

在使用vim-plug应用asyncrun时,报错: Error detected while processing ~/.vim/plugged/asyncrun.vim/plugin/asyncrun.vim: line 1871: E10: \ should be followed by /, ? or &

zhang-stephen avatar Oct 26 '20 09:10 zhang-stephen

什么版本的 vim ?

skywind3000 avatar Oct 26 '20 10:10 skywind3000

Vim 8.2.1900, 通过源码手动编译的

zhang-stephen avatar Nov 02 '20 06:11 zhang-stephen

从来没碰到过,这是正常的 vim 语法,我用 8.2.1910 都没事情。 你什么操作系统?会不会文件编码被改过之类的?

skywind3000 avatar Nov 02 '20 07:11 skywind3000

对,我也觉得应该是正常的,系统是rhel 7.6,文件编码是UTF-8 稍后我在Ubuntu Server上尝试一下,做个对比看看

zhang-stephen avatar Nov 02 '20 09:11 zhang-stephen

我怎么感觉你运行到 rhel 7.6 自带的老版本 vim 了。

skywind3000 avatar Nov 02 '20 10:11 skywind3000

或者

:set nocompatible

了没有?

skywind3000 avatar Nov 02 '20 10:11 skywind3000