Auto commit: 2024-11-08 02:30:01
This commit is contained in:
parent
fd789f1c62
commit
59b03189f9
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||||
" inline math
|
" inline math
|
||||||
syn match math '\$[^$].\{-}\$' contained contains=@tex
|
syn match math '\$[^$].\{-}\$' contained contains=@tex
|
||||||
syn include @tex syntax/tex.vim
|
syn include @tex syntax/tex.vim
|
||||||
|
hi link math @texMath
|
||||||
" 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