Force vimwiki filetype

Else, Vim decides the filetype according to the file extension.
Ref #440
This commit is contained in:
EinfachToll 2018-02-26 07:20:14 +01:00
parent 02e8fb3108
commit 4bacbe0000

View File

@ -84,7 +84,7 @@ function! s:setup_buffer_enter() "{{{
return
endif
if &filetype == ''
if &filetype != 'vimwiki'
setfiletype vimwiki
endif