E117:未知功能:ale#Lint
E117: Unknown function: ale#Lint
我尝试升级我的 .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
是否有未正确安装 ale 的原因?
ale#Lint 需要替换为 ale#Queue(0)
查看相关拉取请求:
https://github.com/thoughtbot/dotfiles/pull/615/files
我尝试升级我的 .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
是否有未正确安装 ale 的原因?
ale#Lint 需要替换为 ale#Queue(0)
查看相关拉取请求: https://github.com/thoughtbot/dotfiles/pull/615/files