Commit 88c83ed0 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix for older Vim versions

parent c5283059
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -116,7 +116,9 @@ let g:AutoPairsCenterLine = 0

" === NON-MODIFIABLE BUFFERS ===

if exists('OptionSet')
	au OptionSet modifiable if ! v:option_new | noa call <SID>no_mod() | endif
endif
au BufWinEnter * if ! &modifiable | noa call <SID>no_mod() | endif

function! s:no_mod()