add conflict marker highlight

Sun, 31 Dec 2017 14:42:54 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 31 Dec 2017 14:42:54 -0500
changeset 666
0cf4a2458e49
parent 665
807f6539d9cc
child 667
3cb96016f652

add conflict marker highlight

.gnupg/gpg.conf file | annotate | diff | comparison | revisions
.vimrc file | annotate | diff | comparison | revisions
--- a/.gnupg/gpg.conf
+++ b/.gnupg/gpg.conf
@@ -2,7 +2,6 @@ keyid-format long
 with-fingerprint
 charset utf-8
 no-greeting
-no-tty
 keyid-format 0xlong
 list-options show-uid-validity
 verify-options show-uid-validity
--- a/.vimrc
+++ b/.vimrc
@@ -272,6 +272,11 @@ augroup vimrc
     \   exe "normal! g`\"" |
     \ endif
 
+  " Simple highlight conflict markers
+  autocmd BufReadPost *
+    \ syn match Error "^\(<\|>\||\)\1\{6,7}" |
+    \ syn match Error "^=\{7,8}$"
+
   " double-click to edit in vimfiler
   autocmd FileType vimfiler nmap <buffer> <2-LeftMouse> <Plug>(vimfiler_edit_file)
 

mercurial