Auto commit: 2024-11-08 02:25:01
This commit is contained in:
parent
95b660c8f1
commit
fd789f1c62
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||||
syn region math start=/\$\$/ end=/\$\$/ contained contains=@tex
|
syn region math start=/\$\$/ end=/\$\$/ contained contains=@tex
|
||||||
" inline math
|
" inline math
|
||||||
syn match math '\$[^$].\{-}\$' contained contains=@tex
|
syn match math '\$[^$].\{-}\$' contained contains=@tex
|
||||||
|
syn include @tex syntax/tex.vim
|
||||||
" actually highlight the region we defined as "math"
|
" actually highlight the region we defined as "math"
|
||||||
" hi link math Statement
|
" hi link math Statement
|
||||||
]])
|
]])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue