Force vimwiki filetype
Else, Vim decides the filetype according to the file extension. Ref #440
This commit is contained in:
parent
02e8fb3108
commit
4bacbe0000
@ -84,7 +84,7 @@ function! s:setup_buffer_enter() "{{{
|
||||
return
|
||||
endif
|
||||
|
||||
if &filetype == ''
|
||||
if &filetype != 'vimwiki'
|
||||
setfiletype vimwiki
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user