dotar/FAQ.md
2022-04-18 14:34:30 +08:00

1.2 KiB

Frequently Asked Questions

vim-import-js building failed when run SPUpdate

When SPUpdate updates vim-import-js, it will try run npm install -g import-js and related directory permissions should be ensured to make this step pass.

SpaceVim Unknown function: TSOnBufEnter

nvim-typescript is not installed successfully when run :SPUpdate

  • Add call dein#reinstall(['nvim-typescript']) to ~/.local/share/nvim/rplugin.vim, reopen vim and wait for the nvim-typescript plugin to install
  • Install it manually:
    cd ~/.cache/vimfiles/repos/github.com/mhartington/
    rm -rf nvim-typescript
    git clone https://github.com/mhartington/nvim-typescript
    cd nvim-typescript
    npm config set registry=https://registry.npmjs.com/
    ./install.sh