vimwiki

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

commit 212a66fcd69f342a848ba93642aa89f856386170
parent 369130edd71fc7975811c19d80b0e9fb988ffd99
Author: Tinmarino <tinmarino@gmail.com>
Date:   Fri, 11 Jun 2021 12:06:43 -0400

Fix: forbid `\$` for equation region start or stop #150

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

diff --git a/autoload/vimwiki/vars.vim b/autoload/vimwiki/vars.vim @@ -708,7 +708,7 @@ function! s:get_default_syntaxlocal() abort \ 'del': [['\~\~', '\~\~']], \ 'sup': [['\^', '\^']], \ 'sub': [[',,', ',,']], - \ 'eq': [['\%(^\|[^$]\)\@<=\$\%($\|[^$]\)\@=', '\%(^\|[^$]\)\@<=\$\%($\|[^$]\)\@=']], + \ 'eq': [['\%(^\|[^$\\]\)\@<=\$\%($\|[^$]\)\@=', '\%(^\|[^$\\]\)\@<=\$\%($\|[^$]\)\@=']], \ }}, \ 'wikilink': {'type': type(''), 'default': '\[\[\zs[^\\\]|]\+\ze\%(|[^\\\]]\+\)\?\]\]'}, \ })