Enable YouCompleteMe on Windows
This commit is contained in:
		
							parent
							
								
									858677ef79
								
							
						
					
					
						commit
						01059ac01a
					
				
							
								
								
									
										7
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								vimrc
									
									
									
									
									
								
							| @ -36,10 +36,7 @@ endfor | |||||||
| Pack 'mkitt/tabline.vim' | Pack 'mkitt/tabline.vim' | ||||||
| 
 | 
 | ||||||
| " YouCompleteMe | " YouCompleteMe | ||||||
| " TODO: Try out neovim completion plugins to see if they are better | Pack 'ycm-core/YouCompleteMe', {'type': 'opt'} | ||||||
| if !platform#is_windows() |  | ||||||
|   Pack 'ycm-core/YouCompleteMe', |  | ||||||
|     \ {'type': 'opt', 'do': '!./install.py --clang-completer'} |  | ||||||
| let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] | let g:ycm_key_list_select_completion = ['<C-n>', '<Down>'] | ||||||
| let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>'] | let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>'] | ||||||
| let g:ycm_min_num_of_chars_for_completion = 1 | let g:ycm_min_num_of_chars_for_completion = 1 | ||||||
| @ -53,7 +50,7 @@ if !platform#is_windows() | |||||||
| let g:ycm_warning_symbol = '▸' | let g:ycm_warning_symbol = '▸' | ||||||
| let g:ycm_goto_buffer_command = 'horizontal-split' | let g:ycm_goto_buffer_command = 'horizontal-split' | ||||||
| let g:ycm_use_clangd = 0 | let g:ycm_use_clangd = 0 | ||||||
| endif | 
 | ||||||
| " ultisnips - snippet engine | " ultisnips - snippet engine | ||||||
| Pack 'SirVer/ultisnips' | Pack 'SirVer/ultisnips' | ||||||
| Pack 'honza/vim-snippets' | Pack 'honza/vim-snippets' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user