Explorar o código

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.
Asa Jay %!s(int64=12) %!d(string=hai) anos
pai
achega
f8c60d9fd3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      autoload/startify.vim

+ 1 - 1
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