Here is the relevant content of my .vimrc
let g:vimwiki_global_ext=0
let g:vimwiki_list = [{'path': 'C:\Users\<USER>\vimwiki',
\ 'syntax': 'markdown', 'ext': '.md'}]
The plugin mapping <leader>ww
creates a new file called index.md
in C:\Users\<USER>\vimwiki
as expected. So I suppose path
is correct.
My problem is that :set ft?
of the index.md
file is always set to vimwiki
(filetype=vimwiki
). I don't know what settings are wrong here?
Note that vimwiki is in /opt
instead of /start
.