From f8c60d9fd3af223b0a777893d4570bbd5e37c613 Mon Sep 17 00:00:00 2001 From: Asa Jay Date: Sun, 22 Sep 2013 19:42:06 +0200 Subject: [PATCH] Force setting of filetype In combination with certain plugins, the filetype wouldn't be set for Startify, because a filetype was already set by another plugin in the series of VimEnter autocmds. Setting the filetype gets forced now. --- autoload/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 6a3c636..a9b049e 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -48,7 +48,7 @@ function! startify#insane_in_the_membrane() abort setlocal noswapfile nobuflisted buftype=nofile bufhidden=wipe setlocal nonumber nocursorline nolist statusline=\ startify - setfiletype startify + set filetype=startify if v:version >= 703 setlocal norelativenumber