Don't both checking for autocmd

This commit is contained in:
Kevin MacMartin 2018-03-13 16:49:25 -04:00
parent 5343c44763
commit 676378ca45

View file

@ -110,7 +110,6 @@
set directory=$HOME/.vim/swap,.,/var/tmp,/tmp set directory=$HOME/.vim/swap,.,/var/tmp,/tmp
"FUNCTIONS: {{{ "FUNCTIONS: {{{
if has('autocmd')
"enable the auto-creation of missing folders in a save path "enable the auto-creation of missing folders in a save path
if !exists('*s:MakeNewDir') if !exists('*s:MakeNewDir')
function s:MakeNewDir(fullpath, buf) function s:MakeNewDir(fullpath, buf)
@ -134,7 +133,6 @@
autocmd! autocmd!
autocmd BufFilePost * filetype detect autocmd BufFilePost * filetype detect
augroup END augroup END
endif
"functions to create a split using 33% and 66% of the height "functions to create a split using 33% and 66% of the height
function s:SPResize33() function s:SPResize33()