Replace ad hoc conflict markers with plugin
This commit is contained in:
		
							parent
							
								
									32610db521
								
							
						
					
					
						commit
						330329ef2b
					
				| @ -12,9 +12,6 @@ augroup benieAugroup | ||||
|   au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | ||||
|           \ | exe "normal! g'\"" | endif | ||||
| 
 | ||||
|   " Highlight conflict markers in any filetype | ||||
|   au FileType * call matchadd('Todo', '^\(<<<<<<<\s.*\||||||||\|=======\|>>>>>>>\s.*\)$') | ||||
| 
 | ||||
|   " Update `Last change: <date>` on write & go back previous cursor position | ||||
|   au FileType help au BufWritePre <buffer> | ||||
|         \ 1s/Last change: \zs.*$/\=strftime('%Y %b %d')/e|norm!`` | ||||
|  | ||||
							
								
								
									
										2
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								vimrc
									
									
									
									
									
								
							| @ -67,6 +67,8 @@ let g:ale_cmake_cmakelint_options = | ||||
| " Version control differences in the sign column | ||||
| Pack 'mhinz/vim-signify' | ||||
| let g:signify_sign_change = '~' | ||||
| " Conflict marker utilities | ||||
| Pack 'rhysd/conflict-marker.vim' | ||||
| 
 | ||||
| " vim-textobj-user - library for creating text objects | ||||
| Pack 'kana/vim-textobj-user' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user