2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

completefunc=syntaxcomplete#Complete^@^ILast

Last updated at Posted at 2014-11-18

概要

vim で rails アプリを書こうと起動すると、毎回下記のエラーが発生してしまったため、その対策をしました。

completefunc=syntaxcomplete#Complete^@^ILast set from ~/Dropbox/git/dotfiles/dot.vim/bundle/neocomplete.vim/autoload/neocomplete/init.vim

対策

tpope/vim-rails と Shougo/neocomplete.vim を使っていると、上記のエラーが出て、neocomplete が使えなくなってしまうようです。

vim-rails が completefunc を上書きしているために起こっているエラーらしいです。
.vimrc に以下の設定を追加することで直りました。

let g:neocomplete#force_overwrite_completefunc=1

参考: https://twitter.com/masawada/status/389306142230208512

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?