vimwiki

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

commit 141d1aa0813b7914f06ab56e429061d3d53989fa
parent 4bc6ff454739efae4f20a4f031f8831014c93fe1
Author: Rane Brown <rane.brown@gmail.com>
Date:   Sat, 19 Oct 2019 10:45:45 -0600

Treat math blocks in the same manner as code blocks

Diffstat:
Mautoload/vimwiki/u.vim | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/autoload/vimwiki/u.vim b/autoload/vimwiki/u.vim @@ -97,7 +97,10 @@ endfunction function! vimwiki#u#is_codeblock(lnum) let syn_g = synIDattr(synID(a:lnum,1,1),'name') - if syn_g =~# 'textSnip.*' || syn_g =~# 'VimwikiPre.*' || syn_g =~# '.*Comment' + if syn_g =~# 'textSnip.*' + \ || syn_g =~# 'VimwikiPre.*' + \ || syn_g =~# 'VimwikiMath.*' + \ || syn_g =~# '.*Comment' return 1 else return 0