- https://github.com/vim-erlang/vim-erlang-runtime
- syntax indent
- https://github.com/vim-erlang/vim-erlang-tags
- tags ファイル作成用実行ファイルと専用 tagjump コマンドがついてくる
- https://github.com/vim-erlang/vim-erlang-compiler
- flymake compiler
- https://github.com/vim-erlang/vim-erlang-omnicomplete
- オムニ補完
- https://github.com/Shougo/neocomplete.vim
- 補完と言ったらこれ
- https://github.com/Shougo/unite.vim
- すべてを破壊し、すべてを繋げ
- https://github.com/tsukkee/unite-tag
- unite で tag 一覧
- https://github.com/Shougo/vimproc
- 非同期処理用
- https://github.com/cohama/vim-hier
- エラー行がハイライト用
if has('vim_starting')
if &compatible
set nocompatible
endif
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
call neobundle#begin(expand('~/.vim/bundle/'))
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'Shougo/unite.vim'
NeoBundle 'Shougo/vimproc', {
\ 'build' : {
\ 'mac' : 'make -f make_mac.mak',
\ },
\ }
NeoBundle 'tsukkee/unite-tag'
NeoBundle 'cohama/vim-hier'
NeoBundle 'vim-erlang/vim-erlang-runtime'
NeoBundle 'vim-erlang/vim-erlang-compiler'
NeoBundle 'vim-erlang/vim-erlang-tags'
NeoBundle 'vim-erlang/vim-erlang-omnicomplete'
call neobundle#end()
filetype plugin indent on
" neocomplete
let g:neocomplete#enable_at_startup = 1
autocmd FileType erlang setlocal omnifunc=erlang_complete#Complete
if !exists('g:neocomplete#force_omni_input_patterns')
let g:neocomplete#force_omni_input_patterns = {}
let g:neocomplete#force_omni_input_patterns.erlang =
\ '\<[[:digit:][:alnum:]_-]\+:[[:digit:][:alnum:]_-]*'
endif
$ cd /path/to/erlang/lib/erlang/lib
$ ~/.vim/bundle/vim-erlang-tags/bin/vim-erlang-tags.erl
$ ls tags
tags