Don't add conflict marker highlight in help files

This commit is contained in:
Kenneth Benzie 2019-07-24 13:52:17 +01:00
parent 6f653e8ad9
commit 1e47926465

View File

@ -6,7 +6,7 @@ augroup benieAugroup
\ | exe "normal! g'\"" | endif
" Highlight conflict markers in any filetype
au FileType * call matchadd('Todo', '^\(<<<<<<<\||||||||\|=======\|>>>>>>>\)\s\ze.*$')
au FileType * call matchadd('Todo', '^\(<<<<<<<\s.*\||||||||\|=======\|>>>>>>>\s.*\)$')
" Update `Last change: <date>` on write & go back previous cursor position
au FileType help au BufWritePre <buffer>