commit 8d1e0543843aecf4279a50e5142966ad5fc2483e
parent eb44fa8196500e8b784ae0d18825c9bff9d30aa9
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 29 Jul 2022 20:13:18 +0200
vim: modify latex highlighting
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/vim/after/syntax/tex.vim b/vim/after/syntax/tex.vim
@@ -1,3 +1,5 @@
syn region texString start="``" end="''"
syn region texString start="`" end="'"
syn match texHttpUrl "http[[:fname:]:]*\ze[^[:fname:]]" contains=@NoSpell keepend
+syn match texCmdResult nextgroup=texFileArg skipwhite skipnl "\\result\(tab\)\?"
+hi def link texCmdResult texCmd