Commit 971ad4e8 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Protect nvim autocommand

parent de95eaf3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -140,7 +140,9 @@ au BufEnter * match ExtraWhitespace /\v([^\t]+)@>\t+|(\s{2,}|(\w.*)@<!\s)$/
highlight LongLine ctermbg=red guibg=pink
au BufEnter * match LongLine /\v%81v[^\r]/
au BufEnter term://* match none
if exists('TermOpen')
	au TermOpen * match none
endif

" Toggle search high-lighting with 'th'
nmap <silent>th :set hlsearch!<CR>