From 4bacbe00005f23d72d247fdde3a9e857d690b44b Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Mon, 26 Feb 2018 07:20:14 +0100 Subject: [PATCH] Force vimwiki filetype Else, Vim decides the filetype according to the file extension. Ref #440 --- plugin/vimwiki.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/vimwiki.vim b/plugin/vimwiki.vim index af43f83..8fe5f93 100644 --- a/plugin/vimwiki.vim +++ b/plugin/vimwiki.vim @@ -84,7 +84,7 @@ function! s:setup_buffer_enter() "{{{ return endif - if &filetype == '' + if &filetype != 'vimwiki' setfiletype vimwiki endif