Set .md files to use markdown filetype

This commit is contained in:
Martin Potier 2020-04-07 16:13:50 +03:00
parent 22b4a4128b
commit 57eab85b44
No known key found for this signature in database
GPG key ID: D4DD957DBA4AD89E

View file

@ -195,6 +195,7 @@ let
\{'path': '~/vimwiki/personal.wiki'} \{'path': '~/vimwiki/personal.wiki'}
\] \]
au BufRead,BufNewFile *.wiki set filetype=vimwiki au BufRead,BufNewFile *.wiki set filetype=vimwiki
au BufRead,BufNewFile *.md set filetype=markdown
:autocmd FileType vimwiki map <leader>d :VimwikiMakeDiaryNote :autocmd FileType vimwiki map <leader>d :VimwikiMakeDiaryNote
function! ToggleCalendar() function! ToggleCalendar()
execute ":Calendar" execute ":Calendar"