Commit 81c0602f authored by HiPhish's avatar HiPhish
Browse files

Silence file type detection

parent a6a6477f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,9 +30,9 @@ function! s:extension(fname)
	" Try to detect the file type without the Jinja extension first. This will
	" fail setting the file type of file extension like 'foo.xxxx.jinja',
	" which is what we want.
	execute 'file' fnamemodify(a:fname, ':r')
	silent execute 'file' fnamemodify(a:fname, ':r')
	filetype detect
	execute 'file' a:fname
	silent execute 'file' a:fname
	" Using ':file' has dissociated the buffer from its file, but executing
	" ':edit' fixes this
	noautocmd silent edit