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

This commit is contained in:
Tinmarino
2021-06-11 12:06:43 -04:00
parent 369130edd7
commit 212a66fcd6
+1 -1
View File
@@ -708,7 +708,7 @@ function! s:get_default_syntaxlocal() abort
\ 'del': [['\~\~', '\~\~']],
\ 'sup': [['\^', '\^']],
\ 'sub': [[',,', ',,']],
\ 'eq': [['\%(^\|[^$]\)\@<=\$\%($\|[^$]\)\@=', '\%(^\|[^$]\)\@<=\$\%($\|[^$]\)\@=']],
\ 'eq': [['\%(^\|[^$\\]\)\@<=\$\%($\|[^$]\)\@=', '\%(^\|[^$\\]\)\@<=\$\%($\|[^$]\)\@=']],
\ }},
\ 'wikilink': {'type': type(''), 'default': '\[\[\zs[^\\\]|]\+\ze\%(|[^\\\]]\+\)\?\]\]'},
\ })