Replace ad hoc conflict markers with plugin
This commit is contained in:
@@ -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!``
|
||||
|
||||
Reference in New Issue
Block a user