From 1a110d252ddaf0ebf557239f19e0548b47056a66 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Wed, 8 Apr 2020 16:52:17 +0300 Subject: [PATCH] No markdown for wiki --- pkgs/vim/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/vim/default.nix b/pkgs/vim/default.nix index 94f63fd..502bd6a 100755 --- a/pkgs/vim/default.nix +++ b/pkgs/vim/default.nix @@ -191,10 +191,9 @@ let let g:vimwiki_conceallevel = 0 let g:vimwiki_auto_chdir = 1 let g:vimwiki_list = [ - \{'path': '~/zk/', 'syntax': 'markdown', 'ext': '.md'}, + \{'path': '~/zk/'}, \{'path': '~/vimwiki/personal.wiki'} \] - au BufRead,BufNewFile *.wiki set filetype=vimwiki :autocmd FileType vimwiki map d :VimwikiMakeDiaryNote function! ToggleCalendar() execute ":Calendar" @@ -211,9 +210,6 @@ let endfunction :autocmd FileType vimwiki map c :call ToggleCalendar() - " Still, edit md as markdown - au BufRead,BufNewFile *.md set filetype=markdown - " Thx Mats for the following :cnoremap :cnoremap