Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build helptags #345

Closed
NihilityT opened this issue Jun 22, 2019 · 2 comments
Closed

Cannot build helptags #345

NihilityT opened this issue Jun 22, 2019 · 2 comments

Comments

@NihilityT
Copy link

Problems summary

I tried to add a plugin chemzqm/wxapp.vim and run call dein#recache_runtimepath(), but I got an error:

E670: Mix of help file encodings within a language: /home/.../.dein/doc/wxapp.txt

Expected

make the helptags can to build tags for wxapp.vim

Environment Information (Required!)

  • dein.vim version(SHA1): c2416cf

  • OS: Ubuntu 18.04.2 LTS

  • Vim/neovim version: Vim 8.1

Provide a minimal .vimrc with less than 50 lines (Required!)

" normal

set nocompatible
let $bundle = expand('~/.vim/bundle')
let $dein_dir = expand($bundle.'/repos/github.com/Shougo/dein.vim')
set runtimepath^=$dein_dir

call dein#begin($bundle)

call dein#add('chemzqm/wxapp.vim')

call dein#end()
" error

set nocompatible
let $bundle = expand('~/.vim/bundle')
let $dein_dir = expand($bundle.'/repos/github.com/Shougo/dein.vim')
set runtimepath^=$dein_dir

call dein#begin($bundle)

call dein#add($dein_dir)
call dein#add('chemzqm/wxapp.vim')

call dein#end()

The reproduce ways from Vim starting (Required!)

  1. use the first vimrc and run call dein#recache_runtimepath(), the helptags can build tags and work well.
  2. add call dein#add($dein_dir) to vimrc and run call dein#recache_runtimepath(), will get an error E670

Upload the log messages by :redir and :message (if errored)

[dein] Error generating helptags:
[dein] Vim(helptags):E670: Mix of help file encodings within a language: /home/.../.dein/doc/wxapp.txt
[dein] function dein#recache_runtimepath[1]..dein#install#_recache_runtimepath[1
9]..<SNR>20_helptags, line 12
@Shougo
Copy link
Owner

Shougo commented Jun 22, 2019

Sorry. It is wxapp's documentation problem.

https://github.com/chemzqm/wxapp.vim/blob/master/doc/wxapp.txt
It includes Chinese characters for English documentation.

@Shougo Shougo closed this as completed Jun 22, 2019
@Shougo
Copy link
Owner

Shougo commented Jun 22, 2019

Same problem exists when you copy wxapp's documentation in ~/.vim/doc.
So it is not dein's problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants