Commit 87554bad authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Ensure .vimrc is re-sourceable

parent ddb8f784
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ let g:AutoPairsCenterLine = 0
au OptionSet modifiable if ! v:option_new | noa call <SID>no_mod() | endif
au BufWinEnter * if ! &modifiable | noa call <SID>no_mod() | endif

function s:no_mod()
function! s:no_mod()
	" Settings to clean up non-modifiable buffer views
	" Things like spell checking & color-column are not needed
	setl nospell