liuchengxu / space-vim

:four_leaf_clover: Lean & mean spacemacs-ish Vim distribution
https://liuchengxu.github.io/space-vim/
MIT License
2.85k stars 255 forks source link

Helptags generation fails during space-vim's autoload when using any folder other than $HOME/.space-vim. #470

Closed delvatt closed 3 years ago

delvatt commented 3 years ago

Environment

Please complete these steps and check these boxes (by putting an x inside the brackets) before filing your issue:

Put the contents of :version below:

:version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov 04 2020 10:20:45)
Included patches: 1-1948
Compiled by void-buildslave@a-hel-fi
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       -tcl
-autoservername    +folding           +multi_byte        +termguicolors
-balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
-browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              +perl              +title
+clientserver      +job               +persistent_undo   -toolbar
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       +lua               +ruby              +wildmenu
+dialog_con        +menu              +scrollbind        +windows
+diff              +mksession         +signs             +writebackup
+digraphs          +modify_fname      +smartindent       +X11
-dnd               +mouse             -sound             +xfontset
-ebcdic            -mouseshape        +spell             -xim
+emacs_tags        +mouse_dec         +startuptime       -xpm
+eval              -mouse_gpm         +statusline        +xsmp_interact
+ex_extra          -mouse_jsbterm     -sun_workshop      +xterm_clipboard
+extra_search      +mouse_netterm     +syntax            -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: cc -c -I. -Iproto -DHAVE_CONFIG_H     -fstack-clash-protection -mtune=generic -O2 -pipe   -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: cc   -L. -Wl,-z,relro -Wl,-z,now     -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now     -L/usr/local/lib -Wl,--as-needed -o vim    -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE  -lm -lelf   -lncursesw -lacl -lattr -ldl  -L/usr/lib -llua5.3 -Wl,-E -Wl,-z,relro -Wl,-z,now -Wl,--as-needed     -Wl,-z,stack-size=2097152 -pthread  -L/usr/lib/perl5/core_perl/CORE -lperl -lm -lcrypt -lpthread -ldl  -L/usr/lib/python3.9/config-3.9-x86_64-linux-gnu -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm -lm  -lruby -lm     

Put the contents of :SpaceInfo below:

:SpaceInfo
     Current FileType: startify
    Global Variables:
    let g:spacevim = {
        base = '/home/hacker/.opt/space-vim',
        excluded = [],
        gui = 0,
        info = '/home/hacker/.opt/space-vim/core/autoload/spacevim/info.vim',
        layers_base = '/layers',
        loaded = ['spacevim', 'fzf', 'unite', 'better-defaults', 'html', 'markdown', 'latex', 'vue', 'python', 'ruby', 'javascript', 'typescript', 'java', 'go', 'rust', 'c
-c++', 'editing', 'formatting', 'programming', 'syntax-checking', 'code-snippets', 'auto-completion', 'which-key'],
        manifest = {'syntax-checking': {'dir': '/home/hacker/.opt/space-vim/layers/+checkers/syntax-checking'}, 'spacevim': {'dir': '/home/hacker/.opt/space-vim/layers/+di
stributions/spacevim'}, 'solidity': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/solidity'}, 'go': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/go'}, 'asyncomple
te': {'dir': '/home/hacker/.opt/space-vim/layers/+completion/asyncomplete'}, 'code-snippets': {'dir': '/home/hacker/.opt/space-vim/layers/+programming/code-snippets'}, 'gr
aphviz': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/graphviz'}, 'ctrlp': {'dir': '/home/hacker/.opt/space-vim/layers/+vim/ctrlp'}, 'scala': {'dir': '/home/hacker/.o
pt/space-vim/layers/+lang/scala'}, 'github': {'dir': '/home/hacker/.opt/space-vim/layers/+version-control/github'}, 'lightline': {'dir': '/home/hacker/.opt/space-vim/layer
s/+themes/lightline'}, 'games': {'dir': '/home/hacker/.opt/space-vim/layers/+fun/games'}, 'java': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/java'}, 'javascript': {
'dir': '/home/hacker/.opt/space-vim/layers/+lang/javascript'}, 'git': {'dir': '/home/hacker/.opt/space-vim/layers/+version-control/git'}, 'auto-completion': {'dir': '/home
/hacker/.opt/space-vim/layers/+completion/auto-completion'}, 'ruby': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/ruby'}, 'emoji': {'dir': '/home/hacker/.opt/space-vi
m/layers/+fun/emoji'}, 'file-manager': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/file-manager'}, 'typescript': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/t
ypescript'}, 'lsp': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/lsp'}, 'docker': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/docker'}, 'deoplete': {'dir': '/
home/hacker/.opt/space-vim/layers/+completion/deoplete'}, 'programming': {'dir': '/home/hacker/.opt/space-vim/layers/+programming/programming'}, 'chinese': {'dir': '/home/
hacker/.opt/space-vim/layers/+misc/chinese'}, 'which-key': {'dir': '/home/hacker/.opt/space-vim/layers/+vim/which-key'}, 'ycmd': {'dir': '/home/hacker/.opt/space-vim/layer
s/+tools/ycmd'}, 'formatting': {'dir': '/home/hacker/.opt/space-vim/layers/+programming/formatting'}, 'html': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/html'}, 'be
tter-defaults': {'dir': '/home/hacker/.opt/space-vim/layers/+distributions/better-defaults'}, 'text-align': {'dir': '/home/hacker/.opt/space-vim/layers/+vim/text-align'},
'vue': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/vue'}, 'goyo': {'dir': '/home/hacker/.opt/space-vim/layers/+fun/goyo'}, 'better-motion': {'dir': '/home/hacker/.op
t/space-vim/layers/+vim/better-motion'}, 'python': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/python'}, 'cscope': {'dir': '/home/hacker/.opt/space-vim/layers/+tools
/cscope'}, 'airline': {'dir': '/home/hacker/.opt/space-vim/layers/+themes/airline'}, 'elm': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/elm'}, 'clojure': {'dir': '/h
ome/hacker/.opt/space-vim/layers/+lang/clojure'}, 'unite': {'dir': '/home/hacker/.opt/space-vim/layers/+completion/unite'}, 'wasm': {'dir': '/home/hacker/.opt/space-vim/la
yers/+lang/wasm'}, 'editing': {'dir': '/home/hacker/.opt/space-vim/layers/+programming/editing'}, 'latex': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/latex'}, 'mark
down': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/markdown'}, 'c-c++': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/c-c++'}, 'erlang': {'dir': '/home/hacker/.o
pt/space-vim/layers/+lang/erlang'}, 'ctags': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/ctags'}, 'rust': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/rust'},
'haskell': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/haskell'}, 'elixir': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/elixir'}, 'tmux': {'dir': '/home/hacker
/.opt/space-vim/layers/+tools/tmux'}, 'fzf': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/fzf'}},
        nvim = 0,
        os = {'linux': 1, 'windows': 0, 'mac': 0},
        plugins = ['liuchengxu/space-vim-dark', 'liuchengxu/space-vim-theme', 'liuchengxu/vim-better-default', 'liuchengxu/eleline.vim', 'junegunn/fzf', 'junegunn/fzf.vim'
, 'Shougo/unite.vim', 'kshenoy/vim-signature', 'tpope/vim-rsi', 'xtal8/traces.vim', 'dominikduda/vim_current_word', 't9md/vim-choosewin', 'mhinz/vim-startify', 'ntpeters/v
im-better-whitespace', 'haya14busa/is.vim', 'osyo-manga/vim-anzu', 'othree/html5.vim', 'hail2u/vim-css3-syntax', 'mattn/emmet-vim', 'plasticboy/vim-markdown', 'mzlogin/vim
-markdown-toc', 'previm/previm', 'xuhdev/vim-latex-live-preview', 'posva/vim-vue', 'jeetsukumaran/vim-pythonsense', 'python-mode/python-mode', 'vim-ruby/vim-ruby', 'panglo
ss/vim-javascript', 'neoclide/vim-jsx-improve', 'Quramy/tsuquyomi', 'Shougo/vimproc.vim', 'leafgarland/typescript-vim', 'ianks/vim-tsx', 'artur-shaik/vim-javacomplete2', '
fatih/vim-go', 'cespare/vim-toml', 'rust-lang/rust.vim', 'rhysd/vim-clang-format', 'octol/vim-cpp-enhanced-highlight', 'tpope/vim-surround', 'pelodelfuego/vim-swoop', 'ter
ryma/vim-multiple-cursors', 'scrooloose/nerdcommenter', 'jiangmiao/auto-pairs', 'Chiel92/vim-autoformat', 'luochen1990/rainbow', 'sheerun/vim-polyglot', 'airblade/vim-root
er', 'editorconfig/editorconfig-vim', 'matze/vim-move', 'junegunn/rainbow_parentheses.vim', 'majutsushi/tagbar', 'liuchengxu/vista.vim', 'Yggdroot/indentLine', 'nathanaelk
ane/vim-indent-guides', 'skywind3000/asyncrun.vim', 'w0rp/ale', 'SirVer/ultisnips', 'honza/vim-snippets', 'maralla/completor.vim', 'maralla/completor-neosnippet', 'liuchen
gxu/vim-which-key'],
s/+themes/lightline'}, 'games': {'dir': '/home/hacker/.opt/space-vim/layers/+fun/games'}, 'java': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/java'}, 'javascript': {
'dir': '/home/hacker/.opt/space-vim/layers/+lang/javascript'}, 'git': {'dir': '/home/hacker/.opt/space-vim/layers/+version-control/git'}, 'auto-completion': {'dir': '/home
/hacker/.opt/space-vim/layers/+completion/auto-completion'}, 'ruby': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/ruby'}, 'emoji': {'dir': '/home/hacker/.opt/space-vi
m/layers/+fun/emoji'}, 'file-manager': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/file-manager'}, 'typescript': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/t
ypescript'}, 'lsp': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/lsp'}, 'docker': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/docker'}, 'deoplete': {'dir': '/
home/hacker/.opt/space-vim/layers/+completion/deoplete'}, 'programming': {'dir': '/home/hacker/.opt/space-vim/layers/+programming/programming'}, 'chinese': {'dir': '/home/
hacker/.opt/space-vim/layers/+misc/chinese'}, 'which-key': {'dir': '/home/hacker/.opt/space-vim/layers/+vim/which-key'}, 'ycmd': {'dir': '/home/hacker/.opt/space-vim/layer
s/+tools/ycmd'}, 'formatting': {'dir': '/home/hacker/.opt/space-vim/layers/+programming/formatting'}, 'html': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/html'}, 'be
tter-defaults': {'dir': '/home/hacker/.opt/space-vim/layers/+distributions/better-defaults'}, 'text-align': {'dir': '/home/hacker/.opt/space-vim/layers/+vim/text-align'},
'vue': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/vue'}, 'goyo': {'dir': '/home/hacker/.opt/space-vim/layers/+fun/goyo'}, 'better-motion': {'dir': '/home/hacker/.op
t/space-vim/layers/+vim/better-motion'}, 'python': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/python'}, 'cscope': {'dir': '/home/hacker/.opt/space-vim/layers/+tools
/cscope'}, 'airline': {'dir': '/home/hacker/.opt/space-vim/layers/+themes/airline'}, 'elm': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/elm'}, 'clojure': {'dir': '/h
ome/hacker/.opt/space-vim/layers/+lang/clojure'}, 'unite': {'dir': '/home/hacker/.opt/space-vim/layers/+completion/unite'}, 'wasm': {'dir': '/home/hacker/.opt/space-vim/la
yers/+lang/wasm'}, 'editing': {'dir': '/home/hacker/.opt/space-vim/layers/+programming/editing'}, 'latex': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/latex'}, 'mark
down': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/markdown'}, 'c-c++': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/c-c++'}, 'erlang': {'dir': '/home/hacker/.o
pt/space-vim/layers/+lang/erlang'}, 'ctags': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/ctags'}, 'rust': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/rust'},
'haskell': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/haskell'}, 'elixir': {'dir': '/home/hacker/.opt/space-vim/layers/+lang/elixir'}, 'tmux': {'dir': '/home/hacker
/.opt/space-vim/layers/+tools/tmux'}, 'fzf': {'dir': '/home/hacker/.opt/space-vim/layers/+tools/fzf'}},
        nvim = 0,
        os = {'linux': 1, 'windows': 0, 'mac': 0},
        plugins = ['liuchengxu/space-vim-dark', 'liuchengxu/space-vim-theme', 'liuchengxu/vim-better-default', 'liuchengxu/eleline.vim', 'junegunn/fzf', 'junegunn/fzf.vim'
, 'Shougo/unite.vim', 'kshenoy/vim-signature', 'tpope/vim-rsi', 'xtal8/traces.vim', 'dominikduda/vim_current_word', 't9md/vim-choosewin', 'mhinz/vim-startify', 'ntpeters/v
im-better-whitespace', 'haya14busa/is.vim', 'osyo-manga/vim-anzu', 'othree/html5.vim', 'hail2u/vim-css3-syntax', 'mattn/emmet-vim', 'plasticboy/vim-markdown', 'mzlogin/vim
-markdown-toc', 'previm/previm', 'xuhdev/vim-latex-live-preview', 'posva/vim-vue', 'jeetsukumaran/vim-pythonsense', 'python-mode/python-mode', 'vim-ruby/vim-ruby', 'panglo
ss/vim-javascript', 'neoclide/vim-jsx-improve', 'Quramy/tsuquyomi', 'Shougo/vimproc.vim', 'leafgarland/typescript-vim', 'ianks/vim-tsx', 'artur-shaik/vim-javacomplete2', '
fatih/vim-go', 'cespare/vim-toml', 'rust-lang/rust.vim', 'rhysd/vim-clang-format', 'octol/vim-cpp-enhanced-highlight', 'tpope/vim-surround', 'pelodelfuego/vim-swoop', 'ter
ryma/vim-multiple-cursors', 'scrooloose/nerdcommenter', 'jiangmiao/auto-pairs', 'Chiel92/vim-autoformat', 'luochen1990/rainbow', 'sheerun/vim-polyglot', 'airblade/vim-root
er', 'editorconfig/editorconfig-vim', 'matze/vim-move', 'junegunn/rainbow_parentheses.vim', 'majutsushi/tagbar', 'liuchengxu/vista.vim', 'Yggdroot/indentLine', 'nathanaelk
ane/vim-indent-guides', 'skywind3000/asyncrun.vim', 'w0rp/ale', 'SirVer/ultisnips', 'honza/vim-snippets', 'maralla/completor.vim', 'maralla/completor-neosnippet', 'liuchen
gxu/vim-which-key'],
        private_base = '/private',
        speed_up_via_timer = 1,
        timer = 1,
        tmux = 0,
        topics = {'+vim': ['better-motion', 'ctrlp', 'text-align', 'which-key'], '+themes': ['airline', 'lightline'], '+tools': ['cscope', 'ctags', 'docker', 'file-manager
', 'fzf', 'lsp', 'tmux', 'ycmd'], '+misc': ['chinese'], '+completion': ['auto-completion', 'deoplete', 'unite', 'asyncomplete'], '+distributions': ['better-defaults', 'spa
cevim'], '+version-control': ['git', 'github'], '+fun': ['emoji', 'games', 'goyo'], '+lang': ['c-c++', 'clojure', 'elixir', 'elm', 'erlang', 'go', 'graphviz', 'haskell', '
html', 'java', 'javascript', 'latex', 'markdown', 'python', 'ruby', 'rust', 'scala', 'solidity', 'typescript', 'vue', 'wasm'], '+programming': ['code-snippets', 'editing',
 'formatting', 'programming'], '+checkers': ['syntax-checking']},
        version = '0.9.0',
        vim8 = 1,
    }
    let g:spacevim_layers = ['fzf', 'unite', 'better-defaults', 'html', 'markdown', 'latex', 'vue', 'python', 'ruby', 'javascript', 'typescript', 'java', 'go', 'rust', 'c-
c++', 'editing', 'formatting', 'programming', 'syntax-checking', 'code-snippets', 'auto-completion', 'which-key']
    let g:spacevim_plug_home = '~/.vim/plugged'

Problem Description

Helptags generation fails during space-vim's autoload when using any folder other than $HOME/.space-vim with the warning message:

Vim(helptags):E150: Not a directory: $HOME/.space-vim/core/doc
Press ENTER or type command to continue