|
|
@ -19,9 +19,13 @@ Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } |
|
|
|
Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' } |
|
|
|
Plug 'scrooloose/nerdcommenter' |
|
|
|
"Plug 'myusuf3/numbers.vim' |
|
|
|
if has("nvim") |
|
|
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } |
|
|
|
else |
|
|
|
Plug 'Shougo/neocomplete.vim' |
|
|
|
Plug 'Shougo/neosnippet.vim' |
|
|
|
Plug 'Shougo/neosnippet-snippets' |
|
|
|
endif |
|
|
|
Plug 'easymotion/vim-easymotion' |
|
|
|
Plug 'bling/vim-airline' |
|
|
|
Plug 'tpope/vim-ragtag' |
|
|
@ -78,7 +82,8 @@ Plug 'Rip-Rip/clang_complete', { 'for': ['c', 'cpp'], 'do': 'make install' } |
|
|
|
let g:clang_library_path='/usr/lib/llvm-4.0/lib/libclang-4.0.so.1' |
|
|
|
|
|
|
|
" PHP |
|
|
|
Plug 'shawncplus/phpcomplete.vim', { 'for': 'php', 'do': 'curl -Ss http://vim-php.com/phpctags/install/phpctags.phar > ~/bin/phpctags && chmod +x ~/bin/phpctags' } |
|
|
|
"Plug 'shawncplus/phpcomplete.vim', { 'for': 'php', 'do': 'curl -Ss http://vim-php.com/phpctags/install/phpctags.phar > ~/bin/phpctags && chmod +x ~/bin/phpctags' } |
|
|
|
Plug 'lvht/phpcd.vim', { 'for': 'php', 'do': 'composer install' } |
|
|
|
|
|
|
|
" Python |
|
|
|
Plug 'python-mode/python-mode', { 'for': 'python' } |
|
|
@ -206,7 +211,8 @@ let g:neocomplete#sources#omni#input_patterns.tex = |
|
|
|
\ . ')' |
|
|
|
"}}} |
|
|
|
|
|
|
|
" N E O C O M P L E T E {{{ |
|
|
|
" Completion {{{ |
|
|
|
if !has("nvim") |
|
|
|
"Note: This option must be set in .vimrc(_vimrc). NOT IN .gvimrc(_gvimrc)! |
|
|
|
" Disable AutoComplPop. |
|
|
|
let g:acp_enableAtStartup = 0 |
|
|
@ -296,6 +302,17 @@ if has('conceal') |
|
|
|
set conceallevel=2 concealcursor=niv |
|
|
|
endif |
|
|
|
let g:neosnippet#snippets_directory = '~/.dotfiles/vim/neosnippets' |
|
|
|
else |
|
|
|
" Use deoplete. |
|
|
|
let g:deoplete#enable_at_startup = 1 |
|
|
|
|
|
|
|
" Use TAB to cycle between matches |
|
|
|
inoremap <silent><expr><tab> pumvisible() ? "\<c-n>" : "\<tab>" |
|
|
|
inoremap <silent><expr><s-tab> pumvisible() ? "\<c-p>" : "\<s-tab>" |
|
|
|
|
|
|
|
let g:deoplete#ignore_sources = get(g:, 'deoplete#ignore_sources', {}) |
|
|
|
let g:deoplete#ignore_sources.php = ['omni'] |
|
|
|
endif |
|
|
|
"}}} |
|
|
|
|
|
|
|
set foldmethod=marker" |