vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit 6a6aeff0132be2c9ae8850c272588a42e84cc12d
parent 7969810b494c6ea66fd353b9071fb4d3fe06fc07
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date:   Sun, 28 Oct 2018 21:04:24 +0100

Fix losing the highlight of headers when switching colorschemes

Funnily, the code to fix this was there for over 8 years now, but didn't
work.

Diffstat:
Mplugin/vimwiki.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/vimwiki.vim b/plugin/vimwiki.vim @@ -231,11 +231,11 @@ endif augroup vimwiki autocmd! + autocmd ColorScheme * call s:setup_cleared_syntax() for s:ext in s:known_extensions exe 'autocmd BufNewFile,BufRead *'.s:ext.' call s:setup_new_wiki_buffer()' exe 'autocmd BufEnter *'.s:ext.' call s:setup_buffer_enter()' exe 'autocmd BufLeave *'.s:ext.' call s:setup_buffer_leave()' - exe 'autocmd ColorScheme *'.s:ext.' call s:setup_cleared_syntax()' " Format tables when exit from insert mode. Do not use textwidth to " autowrap tables. if vimwiki#vars#get_global('table_auto_fmt')