VIM 플러그인을 설치했지만 오류가 발생했습니다: E117: 알 수 없는 기능

VIM 플러그인을 설치했지만 오류가 발생했습니다: E117: 알 수 없는 기능

나는 설치한다구글/vim-codefmt플러그인을 설치한 후땡땡이 형식VIM을 다시 시작한 후 실행했지만 :FormatCode다음 오류가 발생했습니다.

파일 형식 지정 오류: VIM(let):E117: 알 수 없는 함수: maktaba#syscall#Create

왜 이런 일이 발생하는지 알아내려고 노력하고 있지만 지금까지는 알 수 없습니다. 내가 무엇을 놓치고 있는지 아는 사람이 있는지 궁금합니다.

광산은 ~/.vimrc아래와 같습니다.

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'

Plugin 'google/vim-searchindex'

Plugin 'dracula/vim'

Plugin 'google/vim-maktaba'
Plugin 'google/vim-codefmt'
" Also add Glaive, which is used to configure codefmt's maktaba flags. See `:help :Glaive` for usage.
Plugin 'google/vim-glaive'

Plugin 'google/vim-colorscheme-primary'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
"Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
" Plugin 'L9'
" Git plugin not hosted on GitHub
"Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
"Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Install L9 and avoid a Naming conflict if you've already installed a
" different version somewhere else.
" Plugin 'ascenator/L9', {'name': 'newL9'}

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

" the glaive#Install() should go after the 'call vundle#end()'
call glaive#Install()

let g:jsx_ext_required = 0

"syntax on
"color dracula

set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab


augroup autoformat_settings
      autocmd FileType bzl AutoFormatBuffer buildifier
        autocmd FileType c,cpp,proto,javascript AutoFormatBuffer clang-format
          autocmd FileType dart AutoFormatBuffer dartfmt
            autocmd FileType go AutoFormatBuffer gofmt
              autocmd FileType gn AutoFormatBuffer gn
                autocmd FileType html,css,json AutoFormatBuffer js-beautify
                  autocmd FileType java AutoFormatBuffer google-java-format
                    autocmd FileType python AutoFormatBuffer yapf
                      " Alternative: autocmd FileType python AutoFormatBuffer autopep8
                      augroup END

syntax enable
set t_Co=256
"set background=light
set background=dark
colorscheme primary

map <C-K> :pyf  /usr/share/clang/clang-format.py<cr>
imap <C-K> <c-o>:pyf  /usr/share/clang/clang-format.py<cr>

관련 정보