あらゆる言語に対してキーワードの補完を有効にする

 if exists("+omnifunc")
  augroup omnifunc
    autocmd!
    autocmd Filetype *
            \	if &omnifunc == "" |
            \		setlocal omnifunc=syntaxcomplete#Complete |
            \	endif
  augroup END
 endif

参考

http://vim-jp.org/vim-users-jp/2009/11/01/Hack-96.html


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2018-06-12 (火) 06:49:15