Fix: forbid \$ for equation region start or stop #150
This commit is contained in:
@@ -708,7 +708,7 @@ function! s:get_default_syntaxlocal() abort
|
|||||||
\ 'del': [['\~\~', '\~\~']],
|
\ 'del': [['\~\~', '\~\~']],
|
||||||
\ 'sup': [['\^', '\^']],
|
\ 'sup': [['\^', '\^']],
|
||||||
\ 'sub': [[',,', ',,']],
|
\ 'sub': [[',,', ',,']],
|
||||||
\ 'eq': [['\%(^\|[^$]\)\@<=\$\%($\|[^$]\)\@=', '\%(^\|[^$]\)\@<=\$\%($\|[^$]\)\@=']],
|
\ 'eq': [['\%(^\|[^$\\]\)\@<=\$\%($\|[^$]\)\@=', '\%(^\|[^$\\]\)\@<=\$\%($\|[^$]\)\@=']],
|
||||||
\ }},
|
\ }},
|
||||||
\ 'wikilink': {'type': type(''), 'default': '\[\[\zs[^\\\]|]\+\ze\%(|[^\\\]]\+\)\?\]\]'},
|
\ 'wikilink': {'type': type(''), 'default': '\[\[\zs[^\\\]|]\+\ze\%(|[^\\\]]\+\)\?\]\]'},
|
||||||
\ })
|
\ })
|
||||||
|
|||||||
Reference in New Issue
Block a user