gpt4 book ai didi

vim - 拼写文件之间的单词字符不同 (E763)

转载 作者:行者123 更新时间:2023-12-03 22:27:44 25 4
gpt4 key购买 nike

概要

我无法解决 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 .

关于vim - 拼写文件之间的单词字符不同 (E763),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14802136/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com