replaced mucomplete with youcompleteme
This commit is contained in:
		
							parent
							
								
									8640a489e9
								
							
						
					
					
						commit
						695005e28c
					
				
							
								
								
									
										33
									
								
								vimrc
								
								
								
								
							
							
						
						
									
										33
									
								
								vimrc
								
								
								
								
							| 
						 | 
					@ -46,7 +46,7 @@ Plugin 'ap/vim-css-color'
 | 
				
			||||||
Plugin 'pangloss/vim-javascript'
 | 
					Plugin 'pangloss/vim-javascript'
 | 
				
			||||||
" vim-mucomplete
 | 
					" vim-mucomplete
 | 
				
			||||||
" https://github.com/lifepillar/vim-mucomplete
 | 
					" https://github.com/lifepillar/vim-mucomplete
 | 
				
			||||||
Plugin 'lifepillar/vim-mucomplete'
 | 
					" Plugin 'lifepillar/vim-mucomplete'
 | 
				
			||||||
" ultisnips
 | 
					" ultisnips
 | 
				
			||||||
" https://github.com/sirver/UltiSnips
 | 
					" https://github.com/sirver/UltiSnips
 | 
				
			||||||
Plugin 'SirVer/ultisnips'
 | 
					Plugin 'SirVer/ultisnips'
 | 
				
			||||||
| 
						 | 
					@ -87,6 +87,9 @@ Plugin 'vimwiki/vimwiki'
 | 
				
			||||||
" vim-slash
 | 
					" vim-slash
 | 
				
			||||||
" https://github.com/junegunn/vim-slash
 | 
					" https://github.com/junegunn/vim-slash
 | 
				
			||||||
Plugin 'junegunn/vim-slash'
 | 
					Plugin 'junegunn/vim-slash'
 | 
				
			||||||
 | 
					" youcompleteme
 | 
				
			||||||
 | 
					" https://github.com/Valloric/YouCompleteMe
 | 
				
			||||||
 | 
					Plugin 'Valloric/YouCompleteMe'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" All of your Plugins must be added before the following line
 | 
					" All of your Plugins must be added before the following line
 | 
				
			||||||
call vundle#end()            " required
 | 
					call vundle#end()            " required
 | 
				
			||||||
| 
						 | 
					@ -375,21 +378,21 @@ let g:taboo_modified_tab_flag = '+'
 | 
				
			||||||
let g:vue_disable_pre_processors=1
 | 
					let g:vue_disable_pre_processors=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" MUcomplete
 | 
					" MUcomplete
 | 
				
			||||||
set omnifunc=syntaxcomplete#Complete
 | 
					" set omnifunc=syntaxcomplete#Complete
 | 
				
			||||||
set completeopt+=menuone
 | 
					" set completeopt+=menuone
 | 
				
			||||||
let g:mucomplete#enable_auto_at_startup = 1
 | 
					" let g:mucomplete#enable_auto_at_startup = 1
 | 
				
			||||||
inoremap <expr> <c-e> mucomplete#popup_exit("\<c-e>")
 | 
					" inoremap <expr> <c-e> mucomplete#popup_exit("\<c-e>")
 | 
				
			||||||
inoremap <expr> <c-y> mucomplete#popup_exit("\<c-y>")
 | 
					" inoremap <expr> <c-y> mucomplete#popup_exit("\<c-y>")
 | 
				
			||||||
inoremap <expr>  <cr> mucomplete#popup_exit("\<cr>")
 | 
					" inoremap <expr>  <cr> mucomplete#popup_exit("\<cr>")
 | 
				
			||||||
set completeopt+=noselect
 | 
					" set completeopt+=noselect
 | 
				
			||||||
set completeopt+=noinsert
 | 
					" set completeopt+=noinsert
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set complete-=i
 | 
					" set complete-=i
 | 
				
			||||||
set complete-=t
 | 
					" set complete-=t
 | 
				
			||||||
let g:mucomplete#chains = { 'default' : ['omni', 'tags', 'ulti', 'c-p', 'incl', 'file'] }
 | 
					" let g:mucomplete#chains = { 'default' : ['omni', 'tags', 'ulti', 'c-p', 'incl', 'file'] }
 | 
				
			||||||
" let g:mucomplete#popup_direction = { 'path' : 1, 'c-p': 1, 'tags': 1, 'incl': 1 }
 | 
					" " let g:mucomplete#popup_direction = { 'path' : 1, 'c-p': 1, 'tags': 1, 'incl': 1 }
 | 
				
			||||||
set shortmess+=c   " Shut off completion messages
 | 
					" set shortmess+=c   " Shut off completion messages
 | 
				
			||||||
set belloff+=ctrlg " If Vim beeps during completion
 | 
					" set belloff+=ctrlg " If Vim beeps during completion
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
" call add(g:mucomplete#chains['default'], 'ulti') 
 | 
					" call add(g:mucomplete#chains['default'], 'ulti') 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue