From 57eab85b445cbdbb89112e555b41219a3d74503c Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Tue, 7 Apr 2020 16:13:50 +0300 Subject: [PATCH] Set .md files to use markdown filetype --- pkgs/vim/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/vim/default.nix b/pkgs/vim/default.nix index 05ac19f..5924021 100755 --- a/pkgs/vim/default.nix +++ b/pkgs/vim/default.nix @@ -195,6 +195,7 @@ let \{'path': '~/vimwiki/personal.wiki'} \] au BufRead,BufNewFile *.wiki set filetype=vimwiki + au BufRead,BufNewFile *.md set filetype=markdown :autocmd FileType vimwiki map d :VimwikiMakeDiaryNote function! ToggleCalendar() execute ":Calendar"