加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

vim – 拼写文件之间的字符不同(E763)

发布时间:2020-12-15 18:50:04 所属栏目:安全 来源:网络整理
导读:概要 我无法解决Vim错误E763:拼写文件之间的字符不同. 细节 我的.vimrc包含多种拼写语言: set spelllang=en,de,pt,fr 当第一次运行Vim时,它会提示您下载缺少的拼写文件并将其放入.vim / spell.通过我的上述配置,这将导致三个文件de.utf-8.spl,fr.utf-8.spl
概要

我无法解决Vim错误E763:拼写文件之间的字符不同.

细节

我的.vimrc包含多种拼写语言:

set spelllang=en,de,pt,fr

当第一次运行Vim时,它会提示您下载缺少的拼写文件并将其放入.vim / spell.通过我的上述配置,这将导致三个文件de.utf-8.spl,fr.utf-8.spl和pt.utf-8.spl. (英文版附带Vim包)

E763的文档提到:

Vim allows you to use spell checking for several languages in the same file.
You can list them in the ‘spelllang’ option. As a consequence all spell files
for the same encoding must use the same word characters,otherwise they can’t
be combined without errors. If you get a warning that the word tables differ
you may need to generate the .spl file again with :mkspell. Check the FOL,
LOW and UPP lines in the used .aff file.

The XX.ascii.spl spell file generated with the “-ascii” argument will not
contain the table with characters,so that it can be combine with spell files
for any encoding. The .add.spl files also do not contain the table.

看来我需要重新生成单词表,但是这样做的步骤并不直接从手册中得到.我该怎么办?

我有完全相同的问题.我通过询问vim_dev邮件列表中的专家来解决这个问题.

解决方案,直接从马的嘴巴:

Try replacing the en_gb spell file that you installed long ago with
one downloaded from the server now. The files on the site have been
updated some time ago to fix a mistake.

Unfortunately there is no “update runtime files” command yet.

你可以找到完整的线程here.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读