Я пытаюсь обновить мой .vimrc
файл. Когда я открываю приложение Rails, над которым я работаю, я получаю следующую ошибку.
rails_app/config/environments/development.rb 2,3 Top
Error detected while processing CursorHold Auto commands for "*":
E117: Unknown function: ale#Lint
Press ENTER or type command to continue
Ошибка выдается из Ale Я думаю, из следующей строки.
" ALE linting events
augroup ale
autocmd!
if g:has_async
set updatetime=1000
let g:ale_lint_on_text_changed = 0
autocmd CursorHold * call ale#Lint()
autocmd CursorHoldI * call ale#Lint()
autocmd InsertEnter * call ale#Lint()
autocmd InsertLeave * call ale#Lint()
else
echoerr "The thoughtbot dotfiles require NeoVim or Vim 8"
endif
augroup END
На vimrc.bundles
у меня есть следующая строка.
if g:has_async
Plug 'w0rp/ale'
endif
Есть ли причина, по которой эль не устанавливается должным образом?