细节
我的.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.
看来我需要重新生成单词表,但是这样做的步骤并不直接从手册中得到.我该怎么办?
解决方案,直接从马的嘴巴:
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.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。