From 38338d682e26b5f26d7c3f4c65f4ac18666f46e7 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Sun, 20 Jan 2019 11:46:39 +0100 Subject: [PATCH] plugin: Add vimwiki support --- init.vim | 6 ++++-- plugins.vim | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/init.vim b/init.vim index e058adf..42ec945 100644 --- a/init.vim +++ b/init.vim @@ -81,10 +81,10 @@ let g:vim_markdown_math=1 au FileType markdown call RagtagInit() let g:guesslang_langs=[ 'en_US', 'de_AT'] -au FileType text,markdown,mail,tex,gitcommit,mediawiki setlocal spell +au FileType text,markdown,mail,tex,gitcommit,mediawiki,vimwiki setlocal spell au BufReadPost * :DetectIndent -au FileType text,markdown,mail,gitcommit,mediawiki set fo+=n +au FileType text,markdown,mail,gitcommit,mediawiki,vimwiki set fo+=n au FileType mediawiki setlocal wrap linebreak tw=0 @@ -113,6 +113,8 @@ au BufRead,BufNewFile *.plt set filetype=gnuplot \ ['|', 'OBSOLETE(o)', 'WONT(n)'], \ ['CANCELED(c)']] +let g:vimwiki_list = [{'path': '~/.vimwiki/'}] + " Trailing whitespace highlight default link TrailingWhitespace SpellCap " Make trailing whitespace be flagged as bad. diff --git a/plugins.vim b/plugins.vim index ead7f51..c9d89df 100644 --- a/plugins.vim +++ b/plugins.vim @@ -45,6 +45,8 @@ Plug 'Shougo/neosnippet-snippets' Plug 'tpope/vim-speeddating' Plug 'jceb/vim-orgmode', {'for': ['org']} +Plug 'vimwiki/vimwiki' +Plug 'mattn/calendar-vim' Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'} Plug 'roryokane/detectindent' -- 2.39.5