chxuan / vimplus

:rocket:An automatic configuration program for vim
https://github.com/chxuan/vimplus
MIT License
3.89k stars 1.13k forks source link

安装完后每次启动vim时就会报错未知函数,怎么解决? #363

Closed Starschan closed 3 years ago

Starschan commented 3 years ago

Error detected while processing /home/chan/.vim/plugged/vim-textobj-indent/plugin/textobj/indent.vim: line 37: E117: Unknown function: textobj#user#plugin Error detected while processing /home/chan/.vim/plugged/vim-textobj-syntax/plugin/textobj/syntax.vim: line 32: E117: Unknown function: textobj#user#plugin

call textobj#user#plugin('indent', { \ '-': { \ 'select-a': 'ai', '*select-a-function*': 'textobj#indent#select_a', \ 'select-i': 'ii', '*select-i-function*': 'textobj#indent#select_i', \ }, \ 'same': { \ 'select-a': 'aI', \ '*select-a-function*': 'textobj#indent#select_same_a', \ 'select-i': 'iI', \ '*select-i-function*': 'textobj#indent#select_same_i', \ } \ })

Starschan commented 3 years ago

而且好像挺多插件都没起作用。。我用的wsl2 ubuntu2004